projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49c0825
)
radeon: fix incorrect loop limit (warned by -O3)
author
Brian Paul
<brianp@vmware.com>
Fri, 21 Aug 2009 17:04:01 +0000
(11:04 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 21 Aug 2009 17:04:37 +0000
(11:04 -0600)
src/mesa/drivers/dri/radeon/radeon_state_init.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_state_init.c
b/src/mesa/drivers/dri/radeon/radeon_state_init.c
index 57aa7f1ca46c8a42bb55ec26e04106224260d9e6..501ea0b66b1740e13932c686ad61de253b2dd566 100644
(file)
--- 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++)