projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88cf5aa
)
this should use the configured number not the MAX, this has no effect until
author
Dave Airlie
<airliedfreedesktop.org>
Fri, 12 May 2006 03:50:10 +0000
(
03:50
+0000)
committer
Dave Airlie
<airliedfreedesktop.org>
Fri, 12 May 2006 03:50:10 +0000
(
03:50
+0000)
the core mesa swrast number is fixed, just spotted this on the way past
src/mesa/drivers/dri/r300/radeon_vtxfmt_a.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/radeon_vtxfmt_a.c
b/src/mesa/drivers/dri/r300/radeon_vtxfmt_a.c
index 63c5419f384cd0ebf48a45f9ec5325bf6f45e411..1044973b00151f744023ca8d6fb5feaa6dbda3a9 100644
(file)
--- a/
src/mesa/drivers/dri/r300/radeon_vtxfmt_a.c
+++ b/
src/mesa/drivers/dri/r300/radeon_vtxfmt_a.c
@@
-71,7
+71,7
@@
void radeon_vb_to_rvb(r300ContextPtr rmesa, struct radeon_vertex_buffer *rvb, st
CONV_VB(VERT_ATTRIB_COLOR1, SecondaryColorPtr[0]);
CONV_VB(VERT_ATTRIB_FOG, FogCoordPtr);
- for (i=0; i <
MAX_TEXTURE_COORD_UNITS
; i++)
+ for (i=0; i <
ctx->Const.MaxTextureCoordUnits
; i++)
CONV_VB(VERT_ATTRIB_TEX0 + i, TexCoordPtr[i]);
rvb->Primitive = vb->Primitive;