Avoid using identical variable name in inner and outer scope in SOverrideMaterial
Wasn't a bug in this case, but I just got lucky. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5847 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
1b4444e044
commit
f78e7b17f8
|
@ -55,9 +55,9 @@ namespace video
|
|||
{
|
||||
if (Enabled)
|
||||
{
|
||||
for (u32 i=0; i<32; ++i)
|
||||
for (u32 f=0; f<32; ++f)
|
||||
{
|
||||
const u32 num=(1<<i);
|
||||
const u32 num=(1<<f);
|
||||
if (EnableFlags & num)
|
||||
{
|
||||
switch (num)
|
||||
|
|
Loading…
Reference in New Issue