diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-06-21 21:29:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-06-21 21:29:51 +0300 |
commit | f3a89322713a379678abc420d75230a9b17aa18f (patch) | |
tree | 1fa4318ba77eeef61272eb6cd982c7bf37b82800 /src/normalopenglgraphics.cpp | |
parent | 552867509d2a29d806d2ba416b24fbf7ac711803 (diff) | |
download | manaverse-f3a89322713a379678abc420d75230a9b17aa18f.tar.gz manaverse-f3a89322713a379678abc420d75230a9b17aa18f.tar.bz2 manaverse-f3a89322713a379678abc420d75230a9b17aa18f.tar.xz manaverse-f3a89322713a379678abc420d75230a9b17aa18f.zip |
fix code style.
Diffstat (limited to 'src/normalopenglgraphics.cpp')
-rw-r--r-- | src/normalopenglgraphics.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/normalopenglgraphics.cpp b/src/normalopenglgraphics.cpp index af13d0a4f..74d8b4f63 100644 --- a/src/normalopenglgraphics.cpp +++ b/src/normalopenglgraphics.cpp @@ -651,8 +651,7 @@ inline void NormalOpenGLGraphics::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); @@ -666,8 +665,7 @@ inline void NormalOpenGLGraphics::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); |