summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_context.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-02-02 11:28:41 +0000
committerJosé Fonseca <[email protected]>2011-02-02 11:28:41 +0000
commit50278c0901d07d0b6c8b883683b1f3d96378bdb5 (patch)
tree3d74074fc03fff1e3105687099a1e15a3299527d /src/gallium/drivers/svga/svga_context.c
parentdfdb9fda826bb6c5dac2c55d9efcd1644a0dd2b9 (diff)
svga: Flush upload buffers or we get asserts
Based on work from Jakob Bornecrantz, Michel Dänzer, and Brian Paul.
Diffstat (limited to 'src/gallium/drivers/svga/svga_context.c')
-rw-r--r--src/gallium/drivers/svga/svga_context.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/svga/svga_context.c b/src/gallium/drivers/svga/svga_context.c
index 61f99d1eb18..2b8a70d18f1 100644
--- a/src/gallium/drivers/svga/svga_context.c
+++ b/src/gallium/drivers/svga/svga_context.c
@@ -207,11 +207,6 @@ void svga_context_flush( struct svga_context *svga,
svga->curr.nr_fbs = 0;
- /* Unmap upload manager buffers:
- */
- u_upload_flush(svga->upload_vb);
- u_upload_flush(svga->upload_ib);
-
/* Ensure that texture dma uploads are processed
* before submitting commands.
*/