projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29feee2
)
added check for fb==NULL
author
Brian
<brian.paul@tungstengraphics.com>
Fri, 2 Nov 2007 18:22:43 +0000
(12:22 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Mon, 5 Nov 2007 15:04:47 +0000
(08:04 -0700)
src/mesa/state_tracker/st_cb_flush.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_flush.c
b/src/mesa/state_tracker/st_cb_flush.c
index eb47e75b4037b1c4c829ff88fe538b81a4160235..819957a1ee6fe5f8001bfade2fbee2e45bf469bf 100644
(file)
--- a/
src/mesa/state_tracker/st_cb_flush.c
+++ b/
src/mesa/state_tracker/st_cb_flush.c
@@
-55,7
+55,9
@@
void st_flush( struct st_context *st )
*/
st->pipe->flush( st->pipe, 0 );
-
+ if (!fb)
+ return;
+
/* XXX: temporary hack. This flag should only be set if we do any
* rendering to the front buffer.
*/