state cache is automagically flushed on a normal BEGIN_RING_SIZE

This commit is contained in:
Ben Skeggs 2006-12-08 11:51:50 +00:00
parent e62b2f9c2e
commit 046ece3a2d

View file

@ -90,7 +90,6 @@ static void nv30Clear(GLcontext *ctx, GLbitfield mask)
hw_bufs |= 0x03;
if (hw_bufs) {
/* should we flush the state cache before this? */
BEGIN_RING_SIZE(NvSub3D, NV30_TCL_PRIMITIVE_3D_CLEAR_WHICH_BUFFERS, 1);
OUT_RING(hw_bufs);
}