From 013056ac651383579b1395c18ad96bd0dca620dd Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Fri, 12 Dec 2003 10:06:02 +0000 Subject: set MaxTextureImageUnits, MaxTextureCoordUnits --- src/mesa/drivers/dri/r200/r200_context.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/drivers/dri/r200') diff --git a/src/mesa/drivers/dri/r200/r200_context.c b/src/mesa/drivers/dri/r200/r200_context.c index 109e3d7d41a..5ab6b781cb0 100644 --- a/src/mesa/drivers/dri/r200/r200_context.c +++ b/src/mesa/drivers/dri/r200/r200_context.c @@ -338,6 +338,8 @@ GLboolean r200CreateContext( 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, -- cgit v1.2.3