intel: Fix glClear behavior versus display lists.
authorEric Anholt <eric@anholt.net>
Fri, 19 Jun 2009 22:49:24 +0000 (15:49 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 19 Jun 2009 23:43:45 +0000 (16:43 -0700)
commit64edde1004f7a69e77877bba24d315a92bcd47c8
tree80977a0c4bf7421e526450a3435038b44e9f117b
parent396b4043f085ec09a074447bbbb835c53aa82b7b
intel: Fix glClear behavior versus display lists.

The CALL_DrawArrays was leaking the clear's primitives into the display
list with GL_COMPILE_AND_EXECUTE.  Use _mesa_DrawArrays instead, which
doesn't appear to leak.  Fixes piglit dlist-clear test.
src/mesa/drivers/dri/intel/intel_clear.c