aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-07-19 06:21:55 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-19 06:21:55 -0700
commit23c4f1acbcbb72f5a5f380bedc3eed0c1c387a04 (patch)
tree13dc79c529e3301d18056eed333a1a7f548320e4 /src/gpu
parent01c97230f890ca2650e490234a4c5e5190049fdc (diff)
Fix GrGLInterface::validate() to check for GL_OES_sample_shading on ES contexts
Diffstat (limited to 'src/gpu')
-rw-r--r--src/gpu/gl/GrGLInterface.cpp2
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
}