summaryrefslogtreecommitdiffstats
path: root/ppapi/lib/gl/gles2/gles2.c
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/lib/gl/gles2/gles2.c')
-rw-r--r--ppapi/lib/gl/gles2/gles2.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ppapi/lib/gl/gles2/gles2.c b/ppapi/lib/gl/gles2/gles2.c
index dabb20c..3e9732d 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);
+}
+