diff options
Diffstat (limited to 'src/gpu/gl/GrGLInterface.cpp')
-rw-r--r-- | src/gpu/gl/GrGLInterface.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLInterface.cpp b/src/gpu/gl/GrGLInterface.cpp index 89f1f9ba65..8bbd2f3b1b 100644 --- a/src/gpu/gl/GrGLInterface.cpp +++ b/src/gpu/gl/GrGLInterface.cpp @@ -528,6 +528,12 @@ bool GrGLInterface::validate() const { } } + if (fExtensions.has("GL_EXT_raster_multisample")) { + if (NULL == fFunctions.fRasterSamples) { + RETURN_FALSE_INTERFACE + } + } + if (fExtensions.has("GL_NV_framebuffer_mixed_samples")) { if (NULL == fFunctions.fCoverageModulation) { RETURN_FALSE_INTERFACE |