summaryrefslogtreecommitdiff
path: root/src/mobileopenglgraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-12 21:28:54 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-12 21:28:54 +0300
commit5c66d91e3e69446081ef6254063ad638fbc48aca (patch)
treec3bb94057bcd4bdbb8568e815c7f18c44417a78a /src/mobileopenglgraphics.cpp
parentf6000c9088ee63428f65ee980f6751f85a7e7d7e (diff)
downloadplus-5c66d91e3e69446081ef6254063ad638fbc48aca.tar.gz
plus-5c66d91e3e69446081ef6254063ad638fbc48aca.tar.bz2
plus-5c66d91e3e69446081ef6254063ad638fbc48aca.tar.xz
plus-5c66d91e3e69446081ef6254063ad638fbc48aca.zip
Fix code style.
Diffstat (limited to 'src/mobileopenglgraphics.cpp')
-rw-r--r--src/mobileopenglgraphics.cpp6
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)
{