diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/r300/r300_emit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c index 2bf8fbd684..5ac6ed866f 100644 --- a/src/gallium/drivers/r300/r300_emit.c +++ b/src/gallium/drivers/r300/r300_emit.c @@ -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); |