summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-03-04 16:43:13 +0000
committerJosé Fonseca <jfonseca@vmware.com>2009-03-04 16:43:13 +0000
commit50e38b08780d698bad402150ab4fe007051cbc1a (patch)
treef41bb3b5d212b4db54db5c9fbfd3e90db30a45af
parente80d3304195a6fe8a82c4f264f55b42adf384a04 (diff)
mesa: Clear cache->trans after destroying the transfer.
-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 f77ac14762..eecedc20f0 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,