diff options
Diffstat (limited to 'src/render/graphics.cpp')
-rw-r--r-- | src/render/graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/graphics.cpp b/src/render/graphics.cpp index 21bb0ec..15d8a9c 100644 --- a/src/render/graphics.cpp +++ b/src/render/graphics.cpp @@ -79,7 +79,7 @@ namespace render void polygon_line(float* p, int count) { float* verts = new float[count * 4]; - for (int i = 0; i < count; i++) + for (int i = 0; i < count; ++i) { // each line has two point n,n+1 verts[i * 4] = p[i * 2]; |