| Index: src/gpu/gl/GrGLCaps.cpp
|
| diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp
|
| index bdb19e2e3a52e4eca288c0c4f9430cef15857594..153be6a4be80d7ca8ced8257f9fda0cce022ea68 100644
|
| --- a/src/gpu/gl/GrGLCaps.cpp
|
| +++ b/src/gpu/gl/GrGLCaps.cpp
|
| @@ -309,7 +309,8 @@ void GrGLCaps::init(const GrGLContextInfo& ctxInfo, const GrGLInterface* gli) {
|
| // attachment, hence this min:
|
| fMaxRenderTargetSize = GrMin(fMaxTextureSize, fMaxRenderTargetSize);
|
|
|
| - fPathRenderingSupport = ctxInfo.hasExtension("GL_NV_path_rendering");
|
| + fPathRenderingSupport = GR_GL_USE_NV_PATH_RENDERING &&
|
| + ctxInfo.hasExtension("GL_NV_path_rendering");
|
| SkASSERT(!fPathRenderingSupport || fFixedFunctionSupport);
|
|
|
| fDstReadInShaderSupport = kNone_FBFetchType != fFBFetchType;
|
|
|