diff options
author | Keith Whitwell <[email protected]> | 2003-12-12 10:06:02 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2003-12-12 10:06:02 +0000 |
commit | 013056ac651383579b1395c18ad96bd0dca620dd (patch) | |
tree | 91cfdfd1cd277fb9650f96fd76603ccf01191dbb /src/mesa/drivers/dri/r200/r200_context.c | |
parent | e01d671668a2f618de689e72cce5caf21f57d4a0 (diff) |
set MaxTextureImageUnits, MaxTextureCoordUnits
Diffstat (limited to 'src/mesa/drivers/dri/r200/r200_context.c')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, |