From 487a55af7864a3b16531af5481aab7f585622e4a Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sun, 22 Feb 2009 10:37:54 +1000 Subject: [PATCH] texmem: fix typo from brianp's changes. Reported by cjb via tinderbox on irc --- src/mesa/drivers/dri/common/texmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } -- 2.30.2