From 4687272b20f92184a838fe2187857162a0a90a06 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 1 May 2008 15:08:05 -0600 Subject: [PATCH] gallium: use screen->tex_surface_release() --- src/mesa/state_tracker/st_texture.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/state_tracker/st_texture.c b/src/mesa/state_tracker/st_texture.c index 482a054f64c..d6268fc80ca 100644 --- a/src/mesa/state_tracker/st_texture.c +++ b/src/mesa/state_tracker/st_texture.c @@ -327,7 +327,7 @@ st_texture_image_copy(struct pipe_context *pipe, 0, 0, /* srcX, Y */ width, copyHeight); - pipe_surface_reference(&dst_surface, NULL); - pipe_surface_reference(&src_surface, NULL); + screen->tex_surface_release(screen, &src_surface); + screen->tex_surface_release(screen, &dst_surface); } } -- 2.30.2