aboutsummaryrefslogtreecommitdiff
path: root/src/render/graphics.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-05-17 18:04:41 +0800
committerchai <chaifix@163.com>2018-05-17 18:04:41 +0800
commit34947d066b994c2ef9121a83497da344982d28e2 (patch)
tree41a65f6973a9082dafcc081a8a46de99b556370b /src/render/graphics.cpp
parentd45064be602c3becb046d86913ea8013774b0079 (diff)
v0.1.0
Diffstat (limited to 'src/render/graphics.cpp')
-rw-r--r--src/render/graphics.cpp2
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];