diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-01-20 23:05:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-20 23:05:30 +0300 |
commit | ec6db5f3d8b7f0b725fec0b4d8d71b330aa034c6 (patch) | |
tree | f47956f1fb84a1a6f6ec73d347be186f2cc3e8c3 /src/opengl1graphics.cpp | |
parent | 54b1228263aeb48c766806c0391fbfdffe0bc1a5 (diff) | |
download | manaverse-ec6db5f3d8b7f0b725fec0b4d8d71b330aa034c6.tar.gz manaverse-ec6db5f3d8b7f0b725fec0b4d8d71b330aa034c6.tar.bz2 manaverse-ec6db5f3d8b7f0b725fec0b4d8d71b330aa034c6.tar.xz manaverse-ec6db5f3d8b7f0b725fec0b4d8d71b330aa034c6.zip |
Fix code style.
Diffstat (limited to 'src/opengl1graphics.cpp')
-rw-r--r-- | src/opengl1graphics.cpp | 5 |
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); } } |