diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-03-04 16:43:13 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-03-04 16:43:45 +0000 |
commit | 89f1f8f0b8fb684a7b1fce5bfbb961e4521745d7 (patch) | |
tree | c443121255130cdb439508399fa0045484d55723 /src | |
parent | ca06c0c16d09d58f96736aa095e1a592862a9427 (diff) |
mesa: Clear cache->trans after destroying the transfer.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/state_tracker/st_cb_bitmap.c | 1 |
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, |