summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2012-04-13 21:20:18 +0200
committerMarek Olšák <maraeo@gmail.com>2012-04-18 16:19:39 +0200
commit462dcf617303a507a1b000f52abbfa3fe695bb95 (patch)
treea9e5a0aa0fba4e9336911feb598a9f806e9aa32c /src/mesa/state_tracker
parent5db9cedeafe98c5ac094fc32f7b4d275c273b867 (diff)
downloadexternal_mesa3d-462dcf617303a507a1b000f52abbfa3fe695bb95.zip
external_mesa3d-462dcf617303a507a1b000f52abbfa3fe695bb95.tar.gz
external_mesa3d-462dcf617303a507a1b000f52abbfa3fe695bb95.tar.bz2
gallium/u_blit: don't release vertex buffer at end of frame / in glFlush
There's no reason to do that. The buffer being used for rendering is always mapped as unsynchronized.
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_cb_flush.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_flush.c b/src/mesa/state_tracker/st_cb_flush.c
index 724bc19..4cde84a 100644
--- a/src/mesa/state_tracker/st_cb_flush.c
+++ b/src/mesa/state_tracker/st_cb_flush.c
@@ -85,7 +85,6 @@ void st_flush( struct st_context *st,
* successive frames:
*/
st_flush_bitmap(st);
- util_blit_flush(st->blit);
util_gen_mipmap_flush(st->gen_mipmap);
st->pipe->flush( st->pipe, fence );