summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/g3dvl/vl_surface.c
diff options
context:
space:
mode:
authorYounes Manton <[email protected]>2009-01-18 18:11:18 -0500
committerYounes Manton <[email protected]>2009-01-18 21:40:11 -0500
commit9ddca0b41d16a68beebddc7765fc2e354b6bc6fe (patch)
treea32162c0c1713242967e839c75c9f90d8422c4c1 /src/gallium/state_trackers/g3dvl/vl_surface.c
parent3933d338f7fd1a7709d7971036671920f65fcd86 (diff)
g3dvl: Ref count everywhere.
Diffstat (limited to 'src/gallium/state_trackers/g3dvl/vl_surface.c')
-rw-r--r--src/gallium/state_trackers/g3dvl/vl_surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/g3dvl/vl_surface.c b/src/gallium/state_trackers/g3dvl/vl_surface.c
index 612438f2ac3..0fa7b25b92e 100644
--- a/src/gallium/state_trackers/g3dvl/vl_surface.c
+++ b/src/gallium/state_trackers/g3dvl/vl_surface.c
@@ -69,7 +69,7 @@ int vlDestroySurface
{
assert(surface);
- pipe_texture_release(&surface->texture);
+ pipe_texture_reference(&surface->texture, NULL);
FREE(surface);
return 0;