projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca06c0c
)
mesa: Clear cache->trans after destroying the transfer.
author
José Fonseca
<jfonseca@vmware.com>
Wed, 4 Mar 2009 16:43:13 +0000
(16:43 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Wed, 4 Mar 2009 16:43:45 +0000
(16:43 +0000)
src/mesa/state_tracker/st_cb_bitmap.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_bitmap.c
b/src/mesa/state_tracker/st_cb_bitmap.c
index
f77ac14
..
eecedc2
100644
(file)
--- 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,