projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76283a9
)
Set ctx->Const.MaxTexture[Image/Coord]Units correctly. Fixes corruption in q3.
author
Felix Kuehling
<fxkuehl@gmx.de>
Thu, 26 Feb 2004 13:22:16 +0000
(13:22 +0000)
committer
Felix Kuehling
<fxkuehl@gmx.de>
Thu, 26 Feb 2004 13:22:16 +0000
(13:22 +0000)
src/mesa/drivers/dri/savage/savage_xmesa.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/savage/savage_xmesa.c
b/src/mesa/drivers/dri/savage/savage_xmesa.c
index 990689cfc9687548ca52fd8e9ef188a5e6693120..ced25de76d79f2e8485ff0464d1ad9acc821ffaf 100644
(file)
--- 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;