From 52424757345144e215034d8455b15290d9ef6e02 Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Sat, 23 Apr 2011 14:50:46 -0500 Subject: [PATCH] For ID: 3200597 - glDraw*InstancedARB are NULL with ARB_instanced --- auto/core/GL_ARB_draw_instanced | 3 +++ auto/core/GL_ARB_instanced_arrays | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 auto/core/GL_ARB_draw_instanced create mode 100644 auto/core/GL_ARB_instanced_arrays diff --git a/auto/core/GL_ARB_draw_instanced b/auto/core/GL_ARB_draw_instanced new file mode 100644 index 0000000..4140bea --- /dev/null +++ b/auto/core/GL_ARB_draw_instanced @@ -0,0 +1,3 @@ +GL_ARB_draw_instanced +http://www.opengl.org/registry/specs/ARB/draw_instanced.txt +GL_ARB_draw_instanced diff --git a/auto/core/GL_ARB_instanced_arrays b/auto/core/GL_ARB_instanced_arrays new file mode 100644 index 0000000..b1c8873 --- /dev/null +++ b/auto/core/GL_ARB_instanced_arrays @@ -0,0 +1,7 @@ +GL_ARB_instanced_arrays +http://www.opengl.org/registry/specs/ARB/instanced_arrays.txt +GL_ARB_instanced_arrays + GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE + void glVertexAttribDivisorARB (GLuint index, GLuint divisor) + void glDrawArraysInstancedARB (GLenum mode, GLint first, GLsizei count, GLsizei primcount) + void glDrawElementsInstancedARB (GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei primcount)