diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2000-03-22 23:21:27 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2000-03-22 23:21:27 +0000 |
commit | ca1f44b401bcc6b06017d32905a1a6f133a598db (patch) | |
tree | 5f5ba4f23935213d15461bffc8773edee3ace59e /src/mesa/drivers/glide/fxdd.c | |
parent | 780c4e057bbd940242874ac193dfec8738efb987 (diff) |
added Daryll's patches for texture alignment
Diffstat (limited to 'src/mesa/drivers/glide/fxdd.c')
-rw-r--r-- | src/mesa/drivers/glide/fxdd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c index 4d5920f3f2..cb8ae09335 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; |