From: Ian Romanick Date: Mon, 4 Oct 2004 03:19:01 +0000 (+0000) Subject: Set MaxTextureImageUnits and MaxTextureCoordUnits to match MaxTextureUnits. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=00fb3a054a7499a9db6f87088356bee5c4e8f135;p=mesa.git Set MaxTextureImageUnits and MaxTextureCoordUnits to match MaxTextureUnits. This fixes bugzilla #1511. --- 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;