diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2003-12-12 10:06:02 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2003-12-12 10:06:02 +0000 |
commit | 013056ac651383579b1395c18ad96bd0dca620dd (patch) | |
tree | 91cfdfd1cd277fb9650f96fd76603ccf01191dbb /src/mesa/drivers/dri/gamma/gamma_context.c | |
parent | e01d671668a2f618de689e72cce5caf21f57d4a0 (diff) |
set MaxTextureImageUnits, MaxTextureCoordUnits
Diffstat (limited to 'src/mesa/drivers/dri/gamma/gamma_context.c')
-rw-r--r-- | src/mesa/drivers/dri/gamma/gamma_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/gamma/gamma_context.c b/src/mesa/drivers/dri/gamma/gamma_context.c index c617f69d0a..df9bc5b54f 100644 --- a/src/mesa/drivers/dri/gamma/gamma_context.c +++ b/src/mesa/drivers/dri/gamma/gamma_context.c @@ -106,6 +106,8 @@ GLboolean gammaCreateContext( const __GLcontextModes *glVisual, ctx->Const.MaxTextureLevels = 13; /* 4K by 4K? Is that right? */ ctx->Const.MaxTextureUnits = 1; /* Permedia 3 */ + ctx->Const.MaxTextureImageUnits = 1; + ctx->Const.MaxTextureCoordUnits = 1; ctx->Const.MinLineWidth = 0.0; ctx->Const.MaxLineWidth = 255.0; |