r300g: set the correct offset in a colorbuffer surface
authorMarek Olšák <maraeo@gmail.com>
Tue, 3 Nov 2009 15:50:09 +0000 (16:50 +0100)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Thu, 5 Nov 2009 02:19:34 +0000 (18:19 -0800)
commit07190888bdc41f53bf8ea30c9e2ee4a61b42d802
tree33fad4fac18ecfe8ced30507badac1f4caa27bef
parentad96c0d851f6c3696fa6ae0c1f6ad56e849bc739
r300g: set the correct offset in a colorbuffer surface

Suggested by Joakim Sindholt.

Also, put flushing of colorbuffers _before_ the framebuffer state setup,
suggested by docs.

Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
src/gallium/drivers/r300/r300_emit.c