summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_texture.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-09-10 14:11:36 -0600
committerBrian Paul <brianp@vmware.com>2009-09-10 14:11:41 -0600
commit988db641195819c948249a1bb2d59f13577a482f (patch)
treed624f15ac8d7797860ce17b1625bb32e817f8ae8 /src/gallium/drivers/softpipe/sp_texture.c
parent79a3e298c5396df416f655e44a7cad2de6b40aef (diff)
softpipe: set dirty_render_cache in softpipe_clear()
This fixes a bug seen when doing a glDrawPixels(GL_STENCIL_INDEX) right after a glClear(). The check-for-flush test was failing because we didn't set the dirty_render_cache flag in softpipe_clear(). So we saw stale data when we mapped the stencil buffer.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_texture.c')
0 files changed, 0 insertions, 0 deletions