From c6f348cbc908556da4f68a65cdf218ebd4e678be Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Sun, 5 Nov 2000 18:16:51 +0000 Subject: Lots of changes: - use the new interface to the software rasterizer. - manage all fallbacks internally, hooking in swrast or swrast_setup if necessary. - removed lots of marginal code no longer appropriate in a maturing driver. - reworked the vertex-setup and triangle routines, including drawing unfilled triangles from within the driver. --- src/mesa/drivers/glide/fxtexman.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mesa/drivers/glide/fxtexman.c') diff --git a/src/mesa/drivers/glide/fxtexman.c b/src/mesa/drivers/glide/fxtexman.c index 2ffaeadd7e..3944ea2ef6 100644 --- a/src/mesa/drivers/glide/fxtexman.c +++ b/src/mesa/drivers/glide/fxtexman.c @@ -1,4 +1,3 @@ -/* -*- mode: C; tab-width:8; c-basic-offset:2 -*- */ /* * Mesa 3-D graphics library @@ -718,7 +717,7 @@ fxTMRestoreTextures_NoLock(fxMesaContext ctx) { ti=fxTMGetTexInfo(tObj); if (ti && ti->isInTM) { for (i=0; iglCtx->Texture.Unit[i].Current==tObj) { + if (ctx->glCtx->Texture.Unit[i]._Current==tObj) { /* Force the texture onto the board, as it could be in use */ where=ti->whichTMU; fxTMMoveOutTM_NoLock(ctx, tObj); -- cgit v1.2.3