texmem: fix typo from brianp's changes.
authorDave Airlie <airlied@linux.ie>
Sun, 22 Feb 2009 00:37:54 +0000 (10:37 +1000)
committerDave Airlie <airlied@linux.ie>
Sun, 22 Feb 2009 00:37:54 +0000 (10:37 +1000)
Reported by cjb via tinderbox on irc

src/mesa/drivers/dri/common/texmem.c

index 041d8c6e97b987f310f1d83bf743ddaf0887e8a7..b64618a03c8dbebb7479e2caf6de154b8b5a4542 100644 (file)
@@ -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 );
       }