summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2016-01-26 12:30:54 +0000
committerJose Fonseca <jfonseca@vmware.com>2016-01-26 12:30:54 +0000
commit00eba86e9a2c66d973f3f6915dfadb03ebd5c27d (patch)
treeb26532e77d49625f8819768cf0846aadecd198e2 /helpers
parent914c7e4f6715c27c4ee16f98b63ca8b4adf57fe7 (diff)
specs: Add missing GL_EXT_* extensions.
Diffstat (limited to 'helpers')
-rw-r--r--helpers/glsize.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/helpers/glsize.hpp b/helpers/glsize.hpp
index bc74d875..46cb4b18 100644
--- a/helpers/glsize.hpp
+++ b/helpers/glsize.hpp
@@ -523,9 +523,16 @@ _glDrawRangeElementsBaseVertex_count(GLuint start, GLuint end, GLsizei count, GL
#define _glDrawArraysInstancedARB_count _glDrawArraysInstanced_count
#define _glDrawArraysInstancedEXT_count _glDrawArraysInstanced_count
#define _glDrawArraysInstancedANGLE_count _glDrawArraysInstanced_count
+#define _glDrawArraysInstancedBaseInstanceEXT_count _glDrawArraysInstancedBaseInstance_count
+#define _glDrawElementsBaseVertexEXT_count _glDrawElementsBaseVertex_count
#define _glDrawElementsInstancedARB_count _glDrawElementsInstanced_count
#define _glDrawElementsInstancedEXT_count _glDrawElementsInstanced_count
#define _glDrawElementsInstancedANGLE_count _glDrawElementsInstanced_count
+#define _glDrawElementsInstancedBaseInstanceEXT_count _glDrawElementsInstancedBaseInstance_count
+#define _glDrawElementsInstancedBaseVertexEXT_count _glDrawElementsInstancedBaseVertex_count
+#define _glDrawElementsInstancedBaseVertexBaseInstanceEXT_count _glDrawElementsInstancedBaseVertexBaseInstance_count
+#define _glDrawRangeElementsBaseVertexEXT_count _glDrawRangeElementsBaseVertex_count
+
static inline GLuint
_glMultiDrawArrays_count(const GLint *first, const GLsizei *count, GLsizei drawcount) {
@@ -559,6 +566,7 @@ _glMultiDrawElementsBaseVertex_count(const GLsizei *count, GLenum type, const GL
#define _glMultiDrawArraysEXT_count _glMultiDrawArrays_count
#define _glMultiDrawElementsEXT_count _glMultiDrawElements_count
+#define _glMultiDrawElementsBaseVertexEXT_count _glMultiDrawElementsBaseVertex_count
#define _glMultiModeDrawArraysIBM_count(first, count, drawcount, modestride) _glMultiDrawArrays_count(first, count, drawcount)
#define _glMultiModeDrawElementsIBM_count(count, type, indices, drawcount, modestride) _glMultiDrawElements_count(count, type, (const GLvoid **)indices, drawcount)