Index: src/gpu/gl/GrGLInterface.cpp |
diff --git a/src/gpu/gl/GrGLInterface.cpp b/src/gpu/gl/GrGLInterface.cpp |
index c09efae2b88bd87007efdcfdda0209fd368d44f2..84c51fb2524cc08a7ca85bee3a7f131265f95b77 100644 |
--- a/src/gpu/gl/GrGLInterface.cpp |
+++ b/src/gpu/gl/GrGLInterface.cpp |
@@ -487,6 +487,14 @@ bool GrGLInterface::validate() const { |
} |
if ((kGL_GrGLStandard == fStandard && |
+ (glVer >= GR_GL_VER(3,2) || fExtensions.has("GL_ARB_texture_multisample"))) || |
+ (kGLES_GrGLStandard == fStandard && glVer >= GR_GL_VER(3,1))) { |
+ if (NULL == fFunctions.fGetMultisamplefv) { |
+ RETURN_FALSE_INTERFACE |
+ } |
+ } |
+ |
+ if ((kGL_GrGLStandard == fStandard && |
(glVer >= GR_GL_VER(4,3) || fExtensions.has("GL_ARB_program_interface_query"))) || |
(kGLES_GrGLStandard == fStandard && glVer >= GR_GL_VER(3,1))) { |
if (nullptr == fFunctions.fGetProgramResourceLocation) { |