OSDN Git Service

glapi: Alias VertexAttribDivisor and VertexAttribDivisorARB.
authorPaul Berry <stereotype441@gmail.com>
Mon, 22 Oct 2012 22:02:50 +0000 (15:02 -0700)
committerPaul Berry <stereotype441@gmail.com>
Tue, 23 Oct 2012 17:24:39 +0000 (10:24 -0700)
commite7dd2e5213ce1049767d889286a0b7e919c7eefd
tree1e552de9bbb35261c574ffa19d813a4c0574a919
parentbad96f6ada47ec8e2caea7246e31654b1c7c92bb
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>
src/mapi/glapi/gen/GL3x.xml