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 ec6bb4a..fd3078d 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