r300g: Add back dirty state check.

From 07ea7e6c80. This is the only questionable part of that commit,
AFAICT...
This commit is contained in:
Corbin Simpson
2010-01-11 20:52:19 -08:00
parent e920ee23b3
commit daa446fa83
+4
View File
@@ -1000,6 +1000,10 @@ void r300_emit_dirty_state(struct r300_context* r300)
r300->context.flush(&r300->context, 0, NULL);
}
if (!(r300->dirty_state)) {
return;
}
/* Clean out BOs. */
r300->winsys->reset_bos(r300->winsys);