summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-03-04 16:43:13 +0000
committerJosé Fonseca <[email protected]>2009-03-04 16:43:13 +0000
commit50e38b08780d698bad402150ab4fe007051cbc1a (patch)
treef41bb3b5d212b4db54db5c9fbfd3e90db30a45af /src/mesa/state_tracker
parente80d3304195a6fe8a82c4f264f55b42adf384a04 (diff)
mesa: Clear cache->trans after destroying the transfer.
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_cb_bitmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_bitmap.c b/src/mesa/state_tracker/st_cb_bitmap.c
index f77ac14762f..eecedc20f02 100644
--- a/src/mesa/state_tracker/st_cb_bitmap.c
+++ b/src/mesa/state_tracker/st_cb_bitmap.c
@@ -624,6 +624,7 @@ st_flush_bitmap_cache(struct st_context *st)
cache->buffer = NULL;
screen->tex_transfer_destroy(cache->trans);
+ cache->trans = NULL;
draw_bitmap_quad(st->ctx,
cache->xpos,