Index: src/gpu/gl/GrGLInterface.cpp |
diff --git a/src/gpu/gl/GrGLInterface.cpp b/src/gpu/gl/GrGLInterface.cpp |
index 76886015e0fd840ac174f3924befc5865e0b8d8d..01938b1c0f4746be4f3d75bb1fa8343b0cceeff6 100644 |
--- a/src/gpu/gl/GrGLInterface.cpp |
+++ b/src/gpu/gl/GrGLInterface.cpp |
@@ -779,7 +779,7 @@ bool GrGLInterface::validate() const { |
if (nullptr == fFunctions.fMinSampleShading) { |
RETURN_FALSE_INTERFACE |
} |
- } else if (kGL_GrGLStandard == fStandard && fExtensions.has("GL_OES_sample_shading")) { |
+ } else if (kGLES_GrGLStandard == fStandard && fExtensions.has("GL_OES_sample_shading")) { |
if (nullptr == fFunctions.fMinSampleShading) { |
RETURN_FALSE_INTERFACE |
} |