mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-31 13:30:42 +01:00
gallium: fix texcoord loop for rasterpos attributes
This commit is contained in:
parent
15a3fdb63e
commit
eb9bbc5265
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue