From 5c66d91e3e69446081ef6254063ad638fbc48aca Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 12 Mar 2013 21:28:54 +0300 Subject: Fix code style. --- src/mobileopenglgraphics.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/mobileopenglgraphics.cpp') 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(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) { -- cgit v1.2.3-60-g2f50