summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2003-12-12 10:06:02 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2003-12-12 10:06:02 +0000
commit013056ac651383579b1395c18ad96bd0dca620dd (patch)
tree91cfdfd1cd277fb9650f96fd76603ccf01191dbb /src/mesa/drivers/dri/radeon
parente01d671668a2f618de689e72cce5caf21f57d4a0 (diff)
set MaxTextureImageUnits, MaxTextureCoordUnits
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_context.c b/src/mesa/drivers/dri/radeon/radeon_context.c
index 0abf5b2e3e..f2af26c6b6 100644
--- a/src/mesa/drivers/dri/radeon/radeon_context.c
+++ b/src/mesa/drivers/dri/radeon/radeon_context.c
@@ -327,6 +327,8 @@ radeonCreateContext( const __GLcontextModes *glVisual,
ctx = rmesa->glCtx;
ctx->Const.MaxTextureUnits = 2;
+ ctx->Const.MaxTextureImageUnits = 2;
+ ctx->Const.MaxTextureCoordUnits = 2;
driCalculateMaxTextureLevels( rmesa->texture_heaps,
rmesa->nr_heaps,