From 9278d29a9c2cc1fdd2b5cad999fe6f46e1276da4 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 14 Feb 2003 07:04:19 +0000 Subject: [PATCH] compile fix --- stepmania/src/RageDisplay.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stepmania/src/RageDisplay.cpp b/stepmania/src/RageDisplay.cpp index 0335c44beb..8c04c64ebc 100644 --- a/stepmania/src/RageDisplay.cpp +++ b/stepmania/src/RageDisplay.cpp @@ -542,8 +542,9 @@ void RageDisplay::DrawPolyLine(const RageVertex &p1, const RageVertex &p2, float void RageDisplay::DrawLoop_Polys( const RageVertex v[], int iNumVerts, float LineWidth ) { ASSERT( iNumVerts >= 3 ); - - for(int i = 0; i < iNumVerts; ++i) + + int i; + for(i = 0; i < iNumVerts; ++i) DrawPolyLine(v[i], v[(i+1)%iNumVerts], LineWidth); /* Join the lines with circles so we get rounded corners. */