diff options
author | Felix Kuehling <[email protected]> | 2004-02-26 13:22:16 +0000 |
---|---|---|
committer | Felix Kuehling <[email protected]> | 2004-02-26 13:22:16 +0000 |
commit | 89d04e4623635d07cde447f97dd35495a754e9db (patch) | |
tree | 71833d43f5468fddb60caf4090619666342321da /src/mesa | |
parent | 76283a9079846e8b31c03719774b7d2e24832e48 (diff) |
Set ctx->Const.MaxTexture[Image/Coord]Units correctly. Fixes corruption in q3.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/savage/savage_xmesa.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/savage/savage_xmesa.c b/src/mesa/drivers/dri/savage/savage_xmesa.c index 990689cfc96..ced25de76d7 100644 --- a/src/mesa/drivers/dri/savage/savage_xmesa.c +++ b/src/mesa/drivers/dri/savage/savage_xmesa.c @@ -273,6 +273,8 @@ savageCreateContext( const __GLcontextModes *mesaVis, ctx->Const.MaxTextureUnits = 2; else ctx->Const.MaxTextureUnits = 1; + ctx->Const.MaxTextureImageUnits = ctx->Const.MaxTextureUnits; + ctx->Const.MaxTextureCoordUnits = ctx->Const.MaxTextureUnits; #if 0 ctx->Const.MinLineWidth = 1.0; |