mesa: Fix display list handling for GL_ARB_draw_instanced.
authorEric Anholt <eric@anholt.net>
Tue, 28 Feb 2012 21:33:51 +0000 (13:33 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 29 Feb 2012 21:21:12 +0000 (13:21 -0800)
commit3c69a18b6a9f292542672c58bb324a69b750a208
tree151e97fe836b3026474a5f1cce3ce305a2bdd827
parentd534b6840477e4da18f303a8b7f47a73bfcee4cf
mesa: Fix display list handling for GL_ARB_draw_instanced.

When you called them in a display list compile before, you would just
end up calling through NULL.

Fixes piglit GL_ARB_draw_instanced/dlist.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/api_validate.c
src/mesa/main/dlist.c