summaryrefslogtreecommitdiff
path: root/src/opengl1graphics.cpp
diff options
context:
space:
mode:
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);
}
}