diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2003-04-27 12:34:14 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2003-04-27 12:34:14 +0000 |
commit | 1f9c75b3e56e1efdf114393c221fe9ef8f2cab05 (patch) | |
tree | e938af48491ff15ae0aff3451fa81a47639b5e07 | |
parent | 942fdd126cad762e948d5648ba2816521621a05f (diff) |
Fix problems not reloading textures after regaining lock
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_lock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_lock.c b/src/mesa/drivers/dri/radeon/radeon_lock.c index f0ef672931..bd52551f74 100644 --- a/src/mesa/drivers/dri/radeon/radeon_lock.c +++ b/src/mesa/drivers/dri/radeon/radeon_lock.c @@ -189,6 +189,8 @@ void radeonGetLock( radeonContextPtr rmesa, GLuint flags ) if ( rmesa->texture.heap[i] && sarea->texAge[i] != rmesa->texture.age[i] ) { radeonAgeTextures( rmesa, i ); + rmesa->texture.age[i] = sarea->texAge[i]++; + rmesa->NewGLState |= _NEW_TEXTURE; } } } |