mesa: Clear cache->trans after destroying the transfer.

This commit is contained in:
José Fonseca
2009-03-04 16:43:13 +00:00
parent e80d330419
commit 50e38b0878

View File

@@ -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,