From f3a89322713a379678abc420d75230a9b17aa18f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 21 Jun 2013 21:29:51 +0300 Subject: fix code style. --- src/nullopenglgraphics.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/nullopenglgraphics.cpp') diff --git a/src/nullopenglgraphics.cpp b/src/nullopenglgraphics.cpp index a74a89a0b..ff3295485 100644 --- a/src/nullopenglgraphics.cpp +++ b/src/nullopenglgraphics.cpp @@ -553,8 +553,7 @@ inline void NullOpenGLGraphics::drawVertexes(const for (iv = intVertPool.begin(), ft = floatTexPool.begin(), ivp = vp.begin(); - iv != iv_end, ft != ft_end, - ivp != ivp_end; + iv != iv_end && ft != ft_end && ivp != ivp_end; ++ iv, ++ ft, ++ ivp) { drawQuadArrayfi(*iv, *ft, *ivp); @@ -568,8 +567,7 @@ inline void NullOpenGLGraphics::drawVertexes(const for (iv = intVertPool.begin(), it = intTexPool.begin(), ivp = vp.begin(); - iv != iv_end, it != it_end, - ivp != ivp_end; + iv != iv_end && it != it_end && ivp != ivp_end; ++ iv, ++ it, ++ ivp) { drawQuadArrayii(*iv, *it, *ivp); @@ -989,8 +987,8 @@ void NullOpenGLGraphics::drawPoint(int x A_UNUSED, int y A_UNUSED) restoreColor(); } -void NullOpenGLGraphics::drawLine(int x1 A_UNUSED, int y1 A_UNUSED, - int x2 A_UNUSED, int y2 A_UNUSED) +void NullOpenGLGraphics::drawLine(int x1, int y1, + int x2, int y2) { setTexturingAndBlending(false); restoreColor(); -- cgit v1.2.3-70-g09d2