diff options
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_cmdbuf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_cmdbuf.c b/src/mesa/drivers/dri/r300/r300_cmdbuf.c index 17ff55d1d9f..62b0c4035ba 100644 --- a/src/mesa/drivers/dri/r300/r300_cmdbuf.c +++ b/src/mesa/drivers/dri/r300/r300_cmdbuf.c @@ -66,9 +66,10 @@ int r300FlushCmdBufLocked(r300ContextPtr r300, const char* caller) drm_radeon_cmd_buffer_t cmd; int start; - if (r300->radeon.lost_context) + if (r300->radeon.lost_context) { start = 0; - else + r300->radeon.lost_context = GL_FALSE; + } else start = r300->cmdbuf.count_reemit; if (RADEON_DEBUG & DEBUG_IOCTL) { |