Mesa (master): texmem: fix typo from brianp's changes.

Dave Airlie airlied at kemper.freedesktop.org
Sun Feb 22 00:38:23 UTC 2009


Module: Mesa
Branch: master
Commit: 487a55af7864a3b16531af5481aab7f585622e4a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=487a55af7864a3b16531af5481aab7f585622e4a

Author: Dave Airlie <airlied at linux.ie>
Date:   Sun Feb 22 10:37:54 2009 +1000

texmem: fix typo from brianp's changes.

Reported by cjb via tinderbox on irc

---

 src/mesa/drivers/dri/common/texmem.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/common/texmem.c b/src/mesa/drivers/dri/common/texmem.c
index 041d8c6..b64618a 100644
--- a/src/mesa/drivers/dri/common/texmem.c
+++ b/src/mesa/drivers/dri/common/texmem.c
@@ -1081,7 +1081,7 @@ void driInitTextureObjects( GLcontext *ctx, driTextureObject * swapped,
       }
 
       if ( (targets & DRI_TEXMGR_DO_TEXTURE_CUBE) != 0 ) {
-	 texObj = ctx->Texture.Unit[i].CurrentTex[TEXTURE_CUBE_INDEX]Map;
+	 texObj = ctx->Texture.Unit[i].CurrentTex[TEXTURE_CUBE_INDEX];
 	 ctx->Driver.BindTexture( ctx, GL_TEXTURE_CUBE_MAP_ARB, texObj );
 	 move_to_tail( swapped, (driTextureObject *) texObj->DriverData );
       }




More information about the mesa-commit mailing list