[Piglit] [PATCH] glew: fix broken GL_ARB_draw_instanced setup code

Eric Anholt eric at anholt.net
Thu Nov 3 23:27:38 PDT 2011


On Thu,  3 Nov 2011 19:42:00 -0600, Brian Paul <brianp at vmware.com> wrote:
> Looks like glew 1.7.0 has a bug here.  The code that does the GetProcAddress
> for glDrawArraysInstancedARB and glDrawElementsInstancedARB was misplaced in
> the _glewInit_GL_ARB_instanced_arrays() function.
> 
> So if GL_ARB_instanced_arrays was not supported by the GL, the
> glDrawArrays/ElementsARB function pointers were never initialized and
> we'd crash when trying to call them.  See fd.o bug 42574 for example.
> 
> I'll report this issue upstream to the glew maintainer.

Sounds good, if the commit message can mention the upstream bug report
to glew ;)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20111103/0bb4cc92/attachment.pgp>


More information about the Piglit mailing list