projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e243bd
)
Set MaxTextureImageUnits and MaxTextureCoordUnits to match MaxTextureUnits.
author
Ian Romanick
<idr@us.ibm.com>
Mon, 4 Oct 2004 03:19:01 +0000
(
03:19
+0000)
committer
Ian Romanick
<idr@us.ibm.com>
Mon, 4 Oct 2004 03:19:01 +0000
(
03:19
+0000)
This fixes bugzilla #1511.
src/mesa/drivers/dri/unichrome/via_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/unichrome/via_context.c
b/src/mesa/drivers/dri/unichrome/via_context.c
index 13648854f3363ad93815bc724fd99f2f6ab5d66c..d62e5c2b1dacc433d7904e167b9eacd017ad9dd6 100644
(file)
--- a/
src/mesa/drivers/dri/unichrome/via_context.c
+++ b/
src/mesa/drivers/dri/unichrome/via_context.c
@@
-440,6
+440,8
@@
viaCreateContext(const __GLcontextModes *mesaVis,
ctx->Const.MaxTextureLevels = 11;
ctx->Const.MaxTextureUnits = 2;
+ ctx->Const.MaxTextureImageUnits = ctx->Const.MaxTextureUnits;
+ ctx->Const.MaxTextureCoordUnits = ctx->Const.MaxTextureUnits;
ctx->Const.MinLineWidth = 1.0;
ctx->Const.MinLineWidthAA = 1.0;