summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/g3dvl
diff options
context:
space:
mode:
authorYounes Manton <younes.m@gmail.com>2008-12-20 14:42:29 -0500
committerYounes Manton <younes.m@gmail.com>2009-01-10 13:52:06 -0500
commit9beb004885ab5be652bcb733a5fd9ee729f89921 (patch)
treef63e33e9dd2d11bbdebfb28a8169e935ab5b0262 /src/gallium/state_trackers/g3dvl
parentc10db52fcdaf1e21699fa681b701f224b1410990 (diff)
nouveau: Catch some more leaks.
Diffstat (limited to 'src/gallium/state_trackers/g3dvl')
-rw-r--r--src/gallium/state_trackers/g3dvl/vl_r16snorm_mc_buf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/g3dvl/vl_r16snorm_mc_buf.c b/src/gallium/state_trackers/g3dvl/vl_r16snorm_mc_buf.c
index 337680a306..426e5ba065 100644
--- a/src/gallium/state_trackers/g3dvl/vl_r16snorm_mc_buf.c
+++ b/src/gallium/state_trackers/g3dvl/vl_r16snorm_mc_buf.c
@@ -745,6 +745,7 @@ static int vlFlush
}
pipe->flush(pipe, PIPE_FLUSH_RENDER_CACHE, &mc->buffered_surface->render_fence);
+ pipe->screen->tex_surface_release(pipe->screen, mc->render_target.cbufs[0]);
for (i = 0; i < 3; ++i)
mc->zero_block[i].x = -1.0f;