mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
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 <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
bad96f6ada
commit
e7dd2e5213
1 changed files with 2 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue