projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15a3fdb
)
gallium: fix texcoord loop for rasterpos attributes
author
Brian Paul
<brianp@vmware.com>
Fri, 2 Jan 2009 23:16:16 +0000
(16:16 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 2 Jan 2009 23:16:36 +0000
(16:16 -0700)
src/mesa/state_tracker/st_cb_rasterpos.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_rasterpos.c
b/src/mesa/state_tracker/st_cb_rasterpos.c
index 3eaccb74e17fff4b1697734a816d2b7ebdbafbab..8867ca5652efa755df009cef13faa8174876f0f4 100644
(file)
--- a/
src/mesa/state_tracker/st_cb_rasterpos.c
+++ b/
src/mesa/state_tracker/st_cb_rasterpos.c
@@
-162,7
+162,7
@@
rastpos_point(struct draw_stage *stage, struct prim_header *prim)
ctx->Current.RasterSecondaryColor,
VERT_RESULT_COL1, VERT_ATTRIB_COLOR1);
- for (i = 0; i <
MAX_TEXTURE_UNITS
; i++) {
+ for (i = 0; i <
ctx->Const.MaxTextureCoordUnits
; i++) {
update_attrib(ctx, outputMapping, prim->v[0],
ctx->Current.RasterTexCoords[i],
VERT_RESULT_TEX0 + i, VERT_ATTRIB_TEX0 + i);