| Index: src/gpu/gl/GrGLCaps.cpp
|
| diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp
|
| index a913fbeca2fff8b052e15b33fa45a853cf61b315..3b06c57ed883e65109d0239efd47391091f48985 100644
|
| --- a/src/gpu/gl/GrGLCaps.cpp
|
| +++ b/src/gpu/gl/GrGLCaps.cpp
|
| @@ -664,11 +664,11 @@ bool GrGLCaps::hasPathRenderingSupport(const GrGLContextInfo& ctxInfo, const GrG
|
| // additions are detected by checking the existence of the function.
|
| // We also use *Then* functions that not all drivers might have. Check
|
| // them for consistency.
|
| - if (nullptr == gli->fFunctions.fStencilThenCoverFillPath ||
|
| - nullptr == gli->fFunctions.fStencilThenCoverStrokePath ||
|
| - nullptr == gli->fFunctions.fStencilThenCoverFillPathInstanced ||
|
| - nullptr == gli->fFunctions.fStencilThenCoverStrokePathInstanced ||
|
| - nullptr == gli->fFunctions.fProgramPathFragmentInputGen) {
|
| + if (!gli->fFunctions.fStencilThenCoverFillPath ||
|
| + !gli->fFunctions.fStencilThenCoverStrokePath ||
|
| + !gli->fFunctions.fStencilThenCoverFillPathInstanced ||
|
| + !gli->fFunctions.fStencilThenCoverStrokePathInstanced ||
|
| + !gli->fFunctions.fProgramPathFragmentInputGen) {
|
| return false;
|
| }
|
| return true;
|
|
|