summaryrefslogtreecommitdiff
path: root/common/debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/debug.cpp')
-rw-r--r--common/debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/debug.cpp b/common/debug.cpp
index bede613..31e98b6 100644
--- a/common/debug.cpp
+++ b/common/debug.cpp
@@ -82,7 +82,7 @@ void RenderDebugPrimitives()
{
glColor4fv((float*)&DebugQuads[q].color);
glVertexPointer(3, GL_FLOAT, 0, &DebugQuads[q].pt1);
- glDrawArrays(GL_QUADS, 0, 4);
+ glDrawArrays(GL_TRIANGLE_FAN, 0, 4);
}
glDisableClientState(GL_VERTEX_ARRAY);