summaryrefslogtreecommitdiff
path: root/src/opengl1graphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-20 23:05:30 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-20 23:05:30 +0300
commitec6db5f3d8b7f0b725fec0b4d8d71b330aa034c6 (patch)
treef47956f1fb84a1a6f6ec73d347be186f2cc3e8c3 /src/opengl1graphics.cpp
parent54b1228263aeb48c766806c0391fbfdffe0bc1a5 (diff)
downloadplus-ec6db5f3d8b7f0b725fec0b4d8d71b330aa034c6.tar.gz
plus-ec6db5f3d8b7f0b725fec0b4d8d71b330aa034c6.tar.bz2
plus-ec6db5f3d8b7f0b725fec0b4d8d71b330aa034c6.tar.xz
plus-ec6db5f3d8b7f0b725fec0b4d8d71b330aa034c6.zip
Fix code style.
Diffstat (limited to 'src/opengl1graphics.cpp')
-rw-r--r--src/opengl1graphics.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/opengl1graphics.cpp b/src/opengl1graphics.cpp
index b6ecd068b..6f712f698 100644
--- a/src/opengl1graphics.cpp
+++ b/src/opengl1graphics.cpp
@@ -389,8 +389,9 @@ void OpenGL1Graphics::drawRescaledImagePattern(Image *image, int x, int y,
int width = (px + iw >= w) ? w - px : iw;
int dstX = x + px;
- drawRescaledQuad(image, srcX, srcY, dstX, dstY, width / scaleFactorW,
- height / scaleFactorH, scaledWidth, scaledHeight);
+ drawRescaledQuad(image, srcX, srcY, dstX, dstY,
+ width / scaleFactorW, height / scaleFactorH,
+ scaledWidth, scaledHeight);
}
}