diff options
author | Aapo Tahkola <aet@rasterburn.org> | 2005-06-16 10:05:18 +0000 |
---|---|---|
committer | Aapo Tahkola <aet@rasterburn.org> | 2005-06-16 10:05:18 +0000 |
commit | 3176f8e2e1195b0f8bd0c9ba2fd44366ff1da520 (patch) | |
tree | 33068f24fd13f3553719ff38545bb4e2bb59945f | |
parent | 6c2098ffd4ffb3f49d6330310dc771e7ee93c296 (diff) |
lost_context never gets reset.
-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 17ff55d1d9..62b0c4035b 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) { |