Propagate for variables in common/2d/rect.cpp

This commit is contained in:
Kp 2014-09-26 02:42:14 +00:00
parent 2664f2475c
commit d869b08e27

View file

@ -40,23 +40,19 @@ void gr_urect(int left,int top,int right,int bot)
return;
}
#else
int i;
for ( i=top; i<=bot; i++ )
for ( int i=top; i<=bot; i++ )
gr_uscanline( left, right, i );
#endif
}
void gr_rect(int left,int top,int right,int bot)
{
int i;
#ifdef OGL
if (TYPE == BM_OGL) {
ogl_urect(left,top,right,bot);
return;
}
#endif
for ( i=top; i<=bot; i++ )
for ( int i=top; i<=bot; i++ )
gr_scanline( left, right, i );
}