diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-05-01 15:08:05 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-05-01 15:08:05 -0600 |
commit | 4687272b20f92184a838fe2187857162a0a90a06 (patch) | |
tree | 4bd056800fd9f9e97437f3da72b3e8d686c347a3 /src | |
parent | b59f9c95c1f7aca60c5d6889d4dc388d19fbc3e1 (diff) |
gallium: use screen->tex_surface_release()
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/state_tracker/st_texture.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_texture.c b/src/mesa/state_tracker/st_texture.c index 482a054f64..d6268fc80c 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); } } |