| Index: src/gpu/gl/GrGLInterface.cpp
|
| diff --git a/src/gpu/gl/GrGLInterface.cpp b/src/gpu/gl/GrGLInterface.cpp
|
| index ec51797c7e81cf246b0c39e5df4878414d4c8e87..ecd400387aad42a7b0aaa0b9608d88fac2ca9c14 100644
|
| --- a/src/gpu/gl/GrGLInterface.cpp
|
| +++ b/src/gpu/gl/GrGLInterface.cpp
|
| @@ -701,6 +701,12 @@ bool GrGLInterface::validate() const {
|
| }
|
| }
|
|
|
| + if (kGL_GrGLStandard == fStandard && glVer >= GR_GL_VER(4,5)) {
|
| + if (nullptr == fFunctions.fNamedFramebufferParameteri) {
|
| + RETURN_FALSE_INTERFACE
|
| + }
|
| + }
|
| +
|
| if ((kGL_GrGLStandard == fStandard && glVer >= GR_GL_VER(4,3)) ||
|
| fExtensions.has("GL_KHR_debug")) {
|
| if (nullptr == fFunctions.fDebugMessageControl ||
|
|
|