Index: src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp |
=================================================================== |
--- src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp (revision 8892) |
+++ src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp (working copy) |
@@ -95,6 +95,9 @@ |
#else |
interface->fTexStorage2D = (GrGLTexStorage2DProc) eglGetProcAddress("glTexStorage2DEXT"); |
#endif |
+#if GL_EXT_discard_framebuffer |
+ interface->fDiscardFramebuffer = glDiscardFramebufferEXT; |
+#endif |
interface->fUniform1f = glUniform1f; |
interface->fUniform1i = glUniform1i; |
interface->fUniform1fv = glUniform1fv; |