diff options
author | bsalomon <bsalomon@google.com> | 2016-07-19 06:21:55 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-07-19 06:21:55 -0700 |
commit | 23c4f1acbcbb72f5a5f380bedc3eed0c1c387a04 (patch) | |
tree | 13dc79c529e3301d18056eed333a1a7f548320e4 /src/gpu | |
parent | 01c97230f890ca2650e490234a4c5e5190049fdc (diff) |
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
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/gl/GrGLInterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |