summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i810
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/i810
parente01d671668a2f618de689e72cce5caf21f57d4a0 (diff)
set MaxTextureImageUnits, MaxTextureCoordUnits
Diffstat (limited to 'src/mesa/drivers/dri/i810')
-rw-r--r--src/mesa/drivers/dri/i810/i810context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i810/i810context.c b/src/mesa/drivers/dri/i810/i810context.c
index 868ae028ef3..f8fcc1f1f38 100644
--- a/src/mesa/drivers/dri/i810/i810context.c
+++ b/src/mesa/drivers/dri/i810/i810context.c
@@ -204,6 +204,8 @@ i810CreateContext( const __GLcontextModes *mesaVis,
ctx = imesa->glCtx;
ctx->Const.MaxTextureUnits = 2;
+ ctx->Const.MaxTextureImageUnits = 2;
+ ctx->Const.MaxTextureCoordUnits = 2;
/* FIXME: driCalcualteMaxTextureLevels assumes that mipmaps are tightly