If an application cleared before any state had been emitted, that clear would
authorEric Anholt <anholt@FreeBSD.org>
Sat, 2 Oct 2004 05:22:19 +0000 (05:22 +0000)
committerEric Anholt <anholt@FreeBSD.org>
Sat, 2 Oct 2004 05:22:19 +0000 (05:22 +0000)
commit599ea624a3b95f397d7837a0254c39c9bd0ab0ed
tree17f7971e37b1cdd5022a7524f7be07bf895c7e6b
parente5856a2960b6a65e1e5bb55d98a7e40498b5bf6d
If an application cleared before any state had been emitted, that clear would
happen before any state had been set, causing a hang later on.  Fix this by
calling r200Flush instead of FIREVERTICES (which checks if any state has been
emitted but not flushed, before calling Flush) in r200Clear.  While here, add
some more debugging info which was useful, and remove an unnecessary
save/restore in BackUpAndEmit.
src/mesa/drivers/dri/r200/r200_cmdbuf.c
src/mesa/drivers/dri/r200/r200_ioctl.c