From: Brian Paul Date: Thu, 1 May 2008 21:08:05 +0000 (-0600) Subject: gallium: use screen->tex_surface_release() X-Git-Tag: 062012170305~17580^2~390^2~1606 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4687272b20f92184a838fe2187857162a0a90a06;p=profile%2Fivi%2Fmesa.git gallium: use screen->tex_surface_release() --- diff --git a/src/mesa/state_tracker/st_texture.c b/src/mesa/state_tracker/st_texture.c index 482a054..d6268fc 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); } }