From: Dave Airlie Date: Sun, 22 Feb 2009 00:37:54 +0000 (+1000) Subject: texmem: fix typo from brianp's changes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=487a55af7864a3b16531af5481aab7f585622e4a;p=mesa.git texmem: fix typo from brianp's changes. Reported by cjb via tinderbox on irc --- diff --git a/src/mesa/drivers/dri/common/texmem.c b/src/mesa/drivers/dri/common/texmem.c index 041d8c6e97b..b64618a03c8 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 ); }