summaryrefslogtreecommitdiff
path: root/src/normalopenglgraphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/normalopenglgraphics.cpp')
-rw-r--r--src/normalopenglgraphics.cpp6
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);