summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/client/gles2_c_lib_autogen.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/client/gles2_c_lib_autogen.h')
-rw-r--r--gpu/command_buffer/client/gles2_c_lib_autogen.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gpu/command_buffer/client/gles2_c_lib_autogen.h b/gpu/command_buffer/client/gles2_c_lib_autogen.h
index a947810..c28385d 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -24,6 +24,9 @@ void GLES2BindAttribLocation(GLuint program, GLuint index, const char* name) {
void GLES2BindBuffer(GLenum target, GLuint buffer) {
gles2::GetGLContext()->BindBuffer(target, buffer);
}
+void GLES2BindBufferBase(GLenum target, GLuint index, GLuint buffer) {
+ gles2::GetGLContext()->BindBufferBase(target, index, buffer);
+}
void GLES2BindFramebuffer(GLenum target, GLuint framebuffer) {
gles2::GetGLContext()->BindFramebuffer(target, framebuffer);
}
@@ -1203,6 +1206,10 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glBindBuffer),
},
{
+ "glBindBufferBase",
+ reinterpret_cast<GLES2FunctionPointer>(glBindBufferBase),
+ },
+ {
"glBindFramebuffer",
reinterpret_cast<GLES2FunctionPointer>(glBindFramebuffer),
},