summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2012-10-22 15:02:50 -0700
committerPaul Berry <[email protected]>2012-10-23 10:24:39 -0700
commite7dd2e5213ce1049767d889286a0b7e919c7eefd (patch)
tree1e552de9bbb35261c574ffa19d813a4c0574a919
parentbad96f6ada47ec8e2caea7246e31654b1c7c92bb (diff)
glapi: Alias VertexAttribDivisor and VertexAttribDivisorARB.
There's no reason to have separate slots in the dispatch table for these two functions, since they are synonymous. Note: previous to this patch, we never populated the dispatch table slot for VertexAttribDivisor, which was ok, since it is not required until 3.3. After this patch, both functions will be usable provided that the ARB_instanced_arrays extension is present. Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
-rw-r--r--src/mapi/glapi/gen/GL3x.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mapi/glapi/gen/GL3x.xml b/src/mapi/glapi/gen/GL3x.xml
index db8bae53513..82b977f58e7 100644
--- a/src/mapi/glapi/gen/GL3x.xml
+++ b/src/mapi/glapi/gen/GL3x.xml
@@ -624,7 +624,8 @@
<enum name="TEXTURE_SWIZZLE_A" value="0x8E45"/>
<enum name="TEXTURE_SWIZZLE_RGBA" value="0x8E46"/>
- <function name="VertexAttribDivisor" offset="assign" es2="3.0">
+ <function name="VertexAttribDivisor" offset="assign" es2="3.0"
+ alias="VertexAttribDivisorARB">
<param name="index" type="GLuint"/>
<param name="divisor" type="GLuint"/>
</function>