diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-21 18:57:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-21 18:57:48 +0300 |
commit | 35cfd460655878c9a615abc8ea1cb2f7577a7f3b (patch) | |
tree | 2b4cb899f7f442912f89de30f4a5ab0add0727ce /src/mobileopenglgraphics.cpp | |
parent | cfe4c893ba4ba30379919636d3c508ebf1594e23 (diff) | |
download | plus-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.tar.gz plus-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.tar.bz2 plus-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.tar.xz plus-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.zip |
some other fixes from cpplint.
Diffstat (limited to 'src/mobileopenglgraphics.cpp')
-rw-r--r-- | src/mobileopenglgraphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mobileopenglgraphics.cpp b/src/mobileopenglgraphics.cpp index 7280e880b..4a8125e3e 100644 --- a/src/mobileopenglgraphics.cpp +++ b/src/mobileopenglgraphics.cpp @@ -1137,7 +1137,7 @@ bool MobileOpenGLGraphics::drawNet(const int x1, const int y1, const GLshort ys1 = static_cast<GLshort>(y1); const GLshort ys2 = static_cast<GLshort>(y2); - for (short y = y1; y < y2; y += height) + for (int16_t y = y1; y < y2; y += height) { mShortVertArray[vp + 0] = xs1; mShortVertArray[vp + 1] = y; @@ -1153,7 +1153,7 @@ bool MobileOpenGLGraphics::drawNet(const int x1, const int y1, } } - for (short x = x1; x < x2; x += width) + for (int16_t x = x1; x < x2; x += width) { mShortVertArray[vp + 0] = x; mShortVertArray[vp + 1] = ys1; |