Index: src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp |
=================================================================== |
--- src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp (revision 8892) |
+++ src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp (working copy) |
@@ -139,6 +139,9 @@ |
GR_GL_GET_PROC_SUFFIX(TexStorage2D, EXT); |
} |
interface->fTexSubImage2D = glTexSubImage2D; |
+ if (extensions.has("GL_EXT_discard_framebuffer")) { |
+ GR_GL_GET_PROC_SUFFIX(DiscardFramebuffer, EXT); |
+ } |
GR_GL_GET_PROC(Uniform1f); |
GR_GL_GET_PROC(Uniform1i); |
GR_GL_GET_PROC(Uniform1fv); |