added check for fb==NULL

This commit is contained in:
Brian
2007-11-02 12:22:43 -06:00
parent 29feee2c02
commit a5df4239c2
+3 -1
View File
@@ -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.
*/