lost_context never gets reset.

This commit is contained in:
Aapo Tahkola 2005-06-16 10:05:18 +00:00
parent 6c2098ffd4
commit 3176f8e2e1
1 changed files with 3 additions and 2 deletions

View File

@ -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) {