summaryrefslogtreecommitdiff
path: root/common/debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/debug.cpp')
-rw-r--r--common/debug.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/common/debug.cpp b/common/debug.cpp
index 1e56bb5..f1f8956 100644
--- a/common/debug.cpp
+++ b/common/debug.cpp
@@ -82,13 +82,13 @@ void RenderDebugPrimitives()
glBegin(GL_QUADS);
- for (i = 0; i < NumDebugQuads; i++)
+ for (int q = 0; q < NumDebugQuads; q++)
{
- glColor4fv((float*)&DebugQuads[i].color);
- glVertex3fv((float*)&DebugQuads[i].pt1);
- glVertex3fv((float*)&DebugQuads[i].pt2);
- glVertex3fv((float*)&DebugQuads[i].pt3);
- glVertex3fv((float*)&DebugQuads[i].pt4);
+ glColor4fv((float*)&DebugQuads[q].color);
+ glVertex3fv((float*)&DebugQuads[q].pt1);
+ glVertex3fv((float*)&DebugQuads[q].pt2);
+ glVertex3fv((float*)&DebugQuads[q].pt3);
+ glVertex3fv((float*)&DebugQuads[q].pt4);
}
glEnd();