Index: ppapi/lib/gl/gles2/gles2.c |
diff --git a/ppapi/lib/gl/gles2/gles2.c b/ppapi/lib/gl/gles2/gles2.c |
index dabb20ca258528165a5800f03a70d3250869e2be..3e9732da0d28687fc4e575e5b3fca5a8de99bad1 100644 |
--- a/ppapi/lib/gl/gles2/gles2.c |
+++ b/ppapi/lib/gl/gles2/gles2.c |
@@ -1055,3 +1055,10 @@ void GL_APIENTRY glVertexAttribDivisorANGLE(GLuint index, GLuint divisor) { |
if (ext) |
ext->VertexAttribDivisorANGLE(glGetCurrentContextPPAPI(), index, divisor); |
} |
+void GL_APIENTRY glDrawBuffersEXT(GLsizei count, const GLenum* bufs) { |
+ const struct PPB_OpenGLES2DrawBuffers_Dev* ext = |
+ glGetDrawBuffersInterfacePPAPI(); |
+ if (ext) |
+ ext->DrawBuffersEXT(glGetCurrentContextPPAPI(), count, bufs); |
+} |
+ |