From: José Fonseca Date: Wed, 4 Mar 2009 16:43:13 +0000 (+0000) Subject: mesa: Clear cache->trans after destroying the transfer. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=50e38b08780d698bad402150ab4fe007051cbc1a;p=mesa.git mesa: Clear cache->trans after destroying the transfer. --- 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,