From: Aapo Tahkola Date: Thu, 16 Jun 2005 10:05:18 +0000 (+0000) Subject: lost_context never gets reset. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3176f8e2e1195b0f8bd0c9ba2fd44366ff1da520;p=mesa.git lost_context never gets reset. --- 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) {