summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/tdfx
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2003-12-12 10:06:02 +0000
committerKeith Whitwell <[email protected]>2003-12-12 10:06:02 +0000
commit013056ac651383579b1395c18ad96bd0dca620dd (patch)
tree91cfdfd1cd277fb9650f96fd76603ccf01191dbb /src/mesa/drivers/dri/tdfx
parente01d671668a2f618de689e72cce5caf21f57d4a0 (diff)
set MaxTextureImageUnits, MaxTextureCoordUnits
Diffstat (limited to 'src/mesa/drivers/dri/tdfx')
-rw-r--r--src/mesa/drivers/dri/tdfx/tdfx_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/tdfx/tdfx_context.c b/src/mesa/drivers/dri/tdfx/tdfx_context.c
index 57ff4803a6d..8dba39b8707 100644
--- a/src/mesa/drivers/dri/tdfx/tdfx_context.c
+++ b/src/mesa/drivers/dri/tdfx/tdfx_context.c
@@ -209,6 +209,8 @@ GLboolean tdfxCreateContext( const __GLcontextModes *mesaVis,
ctx->Const.MaxTextureLevels = 9;
}
ctx->Const.MaxTextureUnits = TDFX_IS_BANSHEE( fxMesa ) ? 1 : 2;
+ ctx->Const.MaxTextureImageUnits = ctx->Const.MaxTextureUnits;
+ ctx->Const.MaxTextureCoordUnits = ctx->Const.MaxTextureUnits;
/* No wide points.
*/