projects
/
profile
/
ivi
/
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
1364885
..
d62e5c2
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;