Index: gpu/command_buffer/client/gles2_c_lib_autogen.h |
diff --git a/gpu/command_buffer/client/gles2_c_lib_autogen.h b/gpu/command_buffer/client/gles2_c_lib_autogen.h |
index 87616e74a0dc6b324f1f92c54f8d87fefc7b9348..ac4610f2b2d0cdd345da17524621e040f69a65e0 100644 |
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h |
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h |
@@ -259,6 +259,15 @@ void GLES2DrawElements(GLenum mode, |
const void* indices) { |
gles2::GetGLContext()->DrawElements(mode, count, type, indices); |
} |
+void GLES2DrawRangeElements(GLenum mode, |
+ GLuint start, |
+ GLuint end, |
+ GLsizei count, |
+ GLenum type, |
+ const void* indices) { |
+ gles2::GetGLContext()->DrawRangeElements(mode, start, end, count, type, |
+ indices); |
+} |
void GLES2Enable(GLenum cap) { |
gles2::GetGLContext()->Enable(cap); |
} |
@@ -1550,6 +1559,10 @@ extern const NameToFunc g_gles2_function_table[] = { |
reinterpret_cast<GLES2FunctionPointer>(glDrawElements), |
}, |
{ |
+ "glDrawRangeElements", |
+ reinterpret_cast<GLES2FunctionPointer>(glDrawRangeElements), |
+ }, |
+ { |
"glEnable", |
reinterpret_cast<GLES2FunctionPointer>(glEnable), |
}, |