diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-12 21:28:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-12 21:28:54 +0300 |
commit | 5c66d91e3e69446081ef6254063ad638fbc48aca (patch) | |
tree | c3bb94057bcd4bdbb8568e815c7f18c44417a78a /src/mobileopenglgraphics.cpp | |
parent | f6000c9088ee63428f65ee980f6751f85a7e7d7e (diff) | |
download | ManaVerse-5c66d91e3e69446081ef6254063ad638fbc48aca.tar.gz ManaVerse-5c66d91e3e69446081ef6254063ad638fbc48aca.tar.bz2 ManaVerse-5c66d91e3e69446081ef6254063ad638fbc48aca.tar.xz ManaVerse-5c66d91e3e69446081ef6254063ad638fbc48aca.zip |
Fix code style.
Diffstat (limited to 'src/mobileopenglgraphics.cpp')
-rw-r--r-- | src/mobileopenglgraphics.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mobileopenglgraphics.cpp b/src/mobileopenglgraphics.cpp index f0ec87d36..4ffe426ab 100644 --- a/src/mobileopenglgraphics.cpp +++ b/src/mobileopenglgraphics.cpp @@ -452,7 +452,8 @@ void MobileOpenGLGraphics::drawRescaledImagePattern(const Image *const image, const float texY2 = texY1 + tFractionH * visibleFractionH; for (int px = 0; px < w; px += scaledWidth) { - const int width = (px + scaledWidth >= w) ? w - px : scaledWidth; + const int width = (px + scaledWidth >= w) + ? w - px : scaledWidth; const int dstX = x + px; const float visibleFractionW = static_cast<float>(width) / scaledWidth; @@ -1175,7 +1176,8 @@ bool MobileOpenGLGraphics::drawNet(const int x1, const int y1, return true; } -void MobileOpenGLGraphics::bindTexture(const GLenum target, const GLuint texture) +void MobileOpenGLGraphics::bindTexture(const GLenum target, + const GLuint texture) { if (mLastImage != texture) { |