summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r128
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/r128
parente01d671668a2f618de689e72cce5caf21f57d4a0 (diff)
set MaxTextureImageUnits, MaxTextureCoordUnits
Diffstat (limited to 'src/mesa/drivers/dri/r128')
-rw-r--r--src/mesa/drivers/dri/r128/r128_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r128/r128_context.c b/src/mesa/drivers/dri/r128/r128_context.c
index 72906155072..a26c9dd3401 100644
--- a/src/mesa/drivers/dri/r128/r128_context.c
+++ b/src/mesa/drivers/dri/r128/r128_context.c
@@ -196,6 +196,8 @@ GLboolean r128CreateContext( const __GLcontextModes *glVisual,
*/
ctx->Const.MaxTextureUnits = 2;
+ ctx->Const.MaxTextureImageUnits = 2;
+ ctx->Const.MaxTextureCoordUnits = 2;
driCalculateMaxTextureLevels( rmesa->texture_heaps,
rmesa->nr_heaps,