summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-02-14 14:48:35 -0700
committerBrian <[email protected]>2008-02-14 18:59:24 -0700
commit5e345a653b0adc59487d786050abd01d4cb8b4ca (patch)
tree73ebee26c492ee7730f012efe3f1fadf8e7e76a1 /src/mesa
parent7a3e59d2363cba6dd2c1edc08d1afffd25b53ea3 (diff)
gallium: call draw_flush() in softpipe_flush()
Without this, we might not get any rendering at SwapBuffers time when using the vbuf path.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/pipe/softpipe/sp_flush.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_flush.c b/src/mesa/pipe/softpipe/sp_flush.c
index ec6bb4a0dca..fd3078d870b 100644
--- a/src/mesa/pipe/softpipe/sp_flush.c
+++ b/src/mesa/pipe/softpipe/sp_flush.c
@@ -50,6 +50,8 @@ softpipe_flush( struct pipe_context *pipe,
struct softpipe_context *softpipe = softpipe_context(pipe);
uint i;
+ draw_flush(softpipe->draw);
+
/* - flush the quad pipeline
* - flush the texture cache
* - flush the render cache