summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_draw.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-02-03 16:14:02 +0000
committerJosé Fonseca <[email protected]>2011-02-03 16:14:02 +0000
commit610c24b19d21f3d147fde4d96a3afaa107670f1e (patch)
tree8bd8e494080e495256b6cad0f0240d4c8c8819e6 /src/gallium/drivers/svga/svga_draw.c
parent0f3eeb45c73e77b791a047d7bd1ba0c18accb116 (diff)
svga: Fix resource leak; undo temporary workaround.
Leak was introduced when fixing strict aliasing violation in this code: the reference counting was preserved, but the destructor call on zero reference count was not.
Diffstat (limited to 'src/gallium/drivers/svga/svga_draw.c')
-rw-r--r--src/gallium/drivers/svga/svga_draw.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/drivers/svga/svga_draw.c b/src/gallium/drivers/svga/svga_draw.c
index 051ac1c6546..2c873a0f7ac 100644
--- a/src/gallium/drivers/svga/svga_draw.c
+++ b/src/gallium/drivers/svga/svga_draw.c
@@ -224,13 +224,6 @@ svga_hwtnl_flush( struct svga_hwtnl *hwtnl )
hwtnl->cmd.prim_count = 0;
}
- /*
- * FIXME: Somehow we are accumulating too many buffer uploads without
- * flushing, so temporarily disable buffer upload coalescing to prevent OOM
- * crashes (at expense of less performance).
- */
- svga_context_flush_buffers(svga);
-
return PIPE_OK;
}