From ca1f44b401bcc6b06017d32905a1a6f133a598db Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 22 Mar 2000 23:21:27 +0000 Subject: added Daryll's patches for texture alignment --- src/mesa/drivers/glide/fxdd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/drivers/glide/fxdd.c') diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c index 4d5920f3f29..cb8ae09335f 100644 --- a/src/mesa/drivers/glide/fxdd.c +++ b/src/mesa/drivers/glide/fxdd.c @@ -708,6 +708,7 @@ int fxDDInitFxMesaContext( fxMesaContext fxMesa ) FX_grLfbWriteColorFormat(GR_COLORFORMAT_ABGR); /* Not every Glide has this */ #endif + fxMesa->textureAlign=FX_grGetInteger(FX_TEXTURE_ALIGN); fxMesa->glCtx->Const.MaxTextureLevels=9; fxMesa->glCtx->Const.MaxTextureSize=256; fxMesa->glCtx->Const.MaxTextureUnits=fxMesa->emulateTwoTMUs ? 2 : 1; -- cgit v1.2.3