From 41a189542f39ebad6e21be1a34d19a77ae5caa4e Mon Sep 17 00:00:00 2001 From: cxl Date: Sat, 27 Apr 2013 12:47:41 +0000 Subject: [PATCH] .examples: Minor fix in Box2D git-svn-id: svn://ultimatepp.org/upp/trunk@6004 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- examples/Box2DExample/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Box2DExample/main.cpp b/examples/Box2DExample/main.cpp index 01a83b661..bfa23b85b 100644 --- a/examples/Box2DExample/main.cpp +++ b/examples/Box2DExample/main.cpp @@ -82,7 +82,7 @@ struct DebugDraw : b2DebugDraw p[i] = conv(v[i]); p[vertexCount] = p[0]; - w->DrawPolyline(p, vertexCount + 1, 1, conv(color, 150.0)); + w->DrawPolyline(p, 1, conv(color, 150.0)); } void DrawSolidPolygon(const b2Vec2* v, int vertexCount, const b2Color& color)