Fix decleration location of more vars for proper C compliance.

This commit is contained in:
n-a-c-h
2005-02-25 00:47:45 +00:00
parent 5cdce87835
commit 77d981e67e

View File

@@ -907,6 +907,9 @@ void DSP4_OP08()
// scan next command if no SR check needed // scan next command if no SR check needed
if (segments) if (segments)
{ {
int32 win_left, win_right;
/////////////////////////////////////////////// ///////////////////////////////////////////////
// left side of polygon // left side of polygon
@@ -942,8 +945,6 @@ void DSP4_OP08()
/////////////////////////////////////////////// ///////////////////////////////////////////////
// update each point on the line // update each point on the line
int32 win_left, win_right;
win_left = SEX16(poly_cx[polygon][0] - poly_start[polygon] + env[0][0]); win_left = SEX16(poly_cx[polygon][0] - poly_start[polygon] + env[0][0]);
win_right = SEX16(poly_cx[polygon][1] - poly_start[polygon] + env[1][0]); win_right = SEX16(poly_cx[polygon][1] - poly_start[polygon] + env[1][0]);