diff options
author | Brian Paul <[email protected]> | 2009-08-21 11:04:01 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-08-21 11:04:37 -0600 |
commit | ef98eed0a94f3b76399b19f9f65ca6977cd11b5d (patch) | |
tree | bdf6f630cce7791a6535adaa5112f506480ad909 /src/mesa/drivers | |
parent | 49c0825655bad3afde57faab84001641bd5340b8 (diff) |
radeon: fix incorrect loop limit (warned by -O3)
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_state_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_state_init.c b/src/mesa/drivers/dri/radeon/radeon_state_init.c index 57aa7f1ca46..501ea0b66b1 100644 --- a/src/mesa/drivers/dri/radeon/radeon_state_init.c +++ b/src/mesa/drivers/dri/radeon/radeon_state_init.c @@ -798,7 +798,7 @@ void radeonInitState( r100ContextPtr rmesa ) rmesa->hw.glt.emit = vec_emit; rmesa->hw.eye.emit = vec_emit; - for (i = 0; i <= 6; i++) + for (i = 0; i < 6; i++) rmesa->hw.mat[i].emit = vec_emit; for (i = 0; i < 8; i++) |