diff options
author | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-10-30 16:47:20 +0900 |
---|---|---|
committer | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-11-03 22:35:24 +0900 |
commit | 1c6fe6564be28ac3e72fa8e6b1616ae0e22a7bc7 (patch) | |
tree | 70f23b8ae63e320670e004d1447f95c69cfc0493 /src/mesa/state_tracker/st_cb_bitmap.c | |
parent | 28a2edb7389107cd46eb382a44d339dd7972310a (diff) |
softpipe: Don't call pipe_buffer_destroy directly.
Use pipe_buffer_reference instead.
Diffstat (limited to 'src/mesa/state_tracker/st_cb_bitmap.c')
-rw-r--r-- | src/mesa/state_tracker/st_cb_bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_bitmap.c b/src/mesa/state_tracker/st_cb_bitmap.c index 694104f9cf..3d508227e1 100644 --- a/src/mesa/state_tracker/st_cb_bitmap.c +++ b/src/mesa/state_tracker/st_cb_bitmap.c @@ -779,7 +779,7 @@ st_destroy_bitmap(struct st_context *st) } if (st->bitmap.vbuf) { - pipe_buffer_destroy(pipe->screen, st->bitmap.vbuf); + pipe_buffer_reference(pipe->screen, &st->bitmap.vbuf, NULL); st->bitmap.vbuf = NULL; } |