Index: src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp |
=================================================================== |
--- src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp (revision 8892) |
+++ src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp (working copy) |
@@ -129,6 +129,9 @@ |
WGL_SET_PROC_SUFFIX(TexStorage2D, EXT); |
} |
SET_PROC(TexSubImage2D) |
+ if (extensions.has("GL_EXT_discard_framebuffer")) { |
+ WGL_SET_PROC_SUFFIX(DiscardFramebuffer, EXT); |
+ } |
SET_PROC(Viewport) |
WGL_SET_PROC(ActiveTexture); |