mesa: Make glPrimitiveRestartIndex execute immediately in display lists.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 10 Jun 2012 01:06:17 +0000 (18:06 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 11 Jun 2012 20:28:23 +0000 (13:28 -0700)
commitbbb67c3efcf0ba76ee0cb891206284ad84b9cb61
tree51c5df836476326499f38572a1bfae2bb1e887fe
parenta75e704326986b85539b6abf2319701e1a3138e9
mesa: Make glPrimitiveRestartIndex execute immediately in display lists.

From the GL_NV_primitive_restart spec:
"PrimitiveRestartIndexNV is not compiled into display lists, but is
 executed immediately."

Prior to this patch, calls to glPrimitiveRestartIndex would hit the noop
dispatch stub.

+2 oglconforms.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/dlist.c