Propagate for variables in common/2d/rect.cpp
This commit is contained in:
parent
2664f2475c
commit
d869b08e27
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue