diff options
author | Dave Airlie <[email protected]> | 2009-09-27 20:31:55 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-09-28 06:28:31 +1000 |
commit | 225c3375fdfc4a3744c3a7a777664ef94923a2ce (patch) | |
tree | 051535129772df53fee7d327772c11f74b4dc7cf /src | |
parent | 48c45959ee106727fe9dd2d57bc0ca278710aab8 (diff) |
r300g: silence compiler warning
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/r300/r300_state_derived.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_state_derived.c b/src/gallium/drivers/r300/r300_state_derived.c index 5f6b225d340..62da8e293a1 100644 --- a/src/gallium/drivers/r300/r300_state_derived.c +++ b/src/gallium/drivers/r300/r300_state_derived.c @@ -164,7 +164,7 @@ static void r300_vs_tab_routes(struct r300_context* r300, vinfo->hwfmt[3] |= (4 << (3 * i)); } - for (i; i < texs; i++) { + for (; i < texs; i++) { draw_emit_vertex_attr(vinfo, EMIT_4F, INTERP_PERSPECTIVE, draw_find_vs_output(r300->draw, TGSI_SEMANTIC_GENERIC, i)); vinfo->hwfmt[1] |= (R300_INPUT_CNTL_TC0 << i); |