Index: src/gpu/gl/GrGLInterface.cpp |
diff --git a/src/gpu/gl/GrGLInterface.cpp b/src/gpu/gl/GrGLInterface.cpp |
index 71de9521c2236d35d830d6a036f9c217b4a5effa..fafd17cd0bc1825e16d17b244ee3629bd3073674 100644 |
--- a/src/gpu/gl/GrGLInterface.cpp |
+++ b/src/gpu/gl/GrGLInterface.cpp |
@@ -713,6 +713,13 @@ bool GrGLInterface::validate() const { |
} |
} |
+ if ((kGL_GrGLStandard == fStandard && glVer >= GR_GL_VER(4,3)) || |
+ (kGLES_GrGLStandard == fStandard && glVer >= GR_GL_VER(3,1))) { |
+ if (nullptr == fFunctions.fFramebufferParameteri) { |
+ RETURN_FALSE_INTERFACE |
+ } |
+ } |
+ |
if (kGL_GrGLStandard == fStandard && glVer >= GR_GL_VER(4,5)) { |
if (nullptr == fFunctions.fNamedFramebufferParameteri) { |
RETURN_FALSE_INTERFACE |