From 23c4f1acbcbb72f5a5f380bedc3eed0c1c387a04 Mon Sep 17 00:00:00 2001 From: bsalomon Date: Tue, 19 Jul 2016 06:21:55 -0700 Subject: Fix GrGLInterface::validate() to check for GL_OES_sample_shading on ES contexts GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2156343004 Review-Url: https://codereview.chromium.org/2156343004 --- src/gpu/gl/GrGLInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpu') diff --git a/src/gpu/gl/GrGLInterface.cpp b/src/gpu/gl/GrGLInterface.cpp index 949e2bf343..d11a86b15a 100644 --- a/src/gpu/gl/GrGLInterface.cpp +++ b/src/gpu/gl/GrGLInterface.cpp @@ -774,7 +774,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 } -- cgit v1.2.3