gallium: call draw_flush() in softpipe_flush()
authorBrian <brian.paul@tungstengraphics.com>
Thu, 14 Feb 2008 21:48:35 +0000 (14:48 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 15 Feb 2008 01:59:24 +0000 (18:59 -0700)
Without this, we might not get any rendering at SwapBuffers time when using the vbuf path.

src/mesa/pipe/softpipe/sp_flush.c

index ec6bb4a0dcafcb20ca30357b65d523c9d02f4d06..fd3078d870b843a5676cf33b9fc60c1081021bfa 100644 (file)
@@ -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