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;
|
return;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
int i;
|
for ( int i=top; i<=bot; i++ )
|
||||||
|
|
||||||
for ( i=top; i<=bot; i++ )
|
|
||||||
gr_uscanline( left, right, i );
|
gr_uscanline( left, right, i );
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void gr_rect(int left,int top,int right,int bot)
|
void gr_rect(int left,int top,int right,int bot)
|
||||||
{
|
{
|
||||||
int i;
|
|
||||||
|
|
||||||
#ifdef OGL
|
#ifdef OGL
|
||||||
if (TYPE == BM_OGL) {
|
if (TYPE == BM_OGL) {
|
||||||
ogl_urect(left,top,right,bot);
|
ogl_urect(left,top,right,bot);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
for ( i=top; i<=bot; i++ )
|
for ( int i=top; i<=bot; i++ )
|
||||||
gr_scanline( left, right, i );
|
gr_scanline( left, right, i );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue