tdfx: Silence unused variable warning on non-debug builds.
Fixes this GCC warning. tdfx_texman.c: In function 'tdfxTMMoveOutTM_NoLock': tdfx_texman.c:897: warning: unused variable 'shared'
This commit is contained in:
parent
c8d4108fbe
commit
8c107e6ca6
|
@ -917,6 +917,7 @@ tdfxTMMoveOutTM_NoLock( tdfxContextPtr fxMesa, struct gl_texture_object *tObj )
|
|||
case TDFX_TMU_SPLIT:
|
||||
case TDFX_TMU_BOTH:
|
||||
assert(!shared->umaTexMemory);
|
||||
(void) shared;
|
||||
RemoveRange_NoLock(fxMesa, TDFX_TMU0, ti->tm[TDFX_TMU0]);
|
||||
RemoveRange_NoLock(fxMesa, TDFX_TMU1, ti->tm[TDFX_TMU1]);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue