From 00fb3a054a7499a9db6f87088356bee5c4e8f135 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 4 Oct 2004 03:19:01 +0000 Subject: Set MaxTextureImageUnits and MaxTextureCoordUnits to match MaxTextureUnits. This fixes bugzilla #1511. --- src/mesa/drivers/dri/unichrome/via_context.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/drivers/dri') diff --git a/src/mesa/drivers/dri/unichrome/via_context.c b/src/mesa/drivers/dri/unichrome/via_context.c index 13648854f33..d62e5c2b1da 100644 --- a/src/mesa/drivers/dri/unichrome/via_context.c +++ b/src/mesa/drivers/dri/unichrome/via_context.c @@ -440,6 +440,8 @@ viaCreateContext(const __GLcontextModes *mesaVis, ctx->Const.MaxTextureLevels = 11; ctx->Const.MaxTextureUnits = 2; + ctx->Const.MaxTextureImageUnits = ctx->Const.MaxTextureUnits; + ctx->Const.MaxTextureCoordUnits = ctx->Const.MaxTextureUnits; ctx->Const.MinLineWidth = 1.0; ctx->Const.MinLineWidthAA = 1.0; -- cgit v1.2.3