diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-30 14:17:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-30 14:17:37 +0300 |
commit | 31fcdb31fb406531bec49ee2d1b3cc286ed3b5a8 (patch) | |
tree | b7f2a06054bacc8208d8fb429fc811ed199b4453 /src/gui | |
parent | 74f89c500d278b6ac668c313b63d0f1e76f4acaf (diff) | |
download | mv-31fcdb31fb406531bec49ee2d1b3cc286ed3b5a8.tar.gz mv-31fcdb31fb406531bec49ee2d1b3cc286ed3b5a8.tar.bz2 mv-31fcdb31fb406531bec49ee2d1b3cc286ed3b5a8.tar.xz mv-31fcdb31fb406531bec49ee2d1b3cc286ed3b5a8.zip |
Improve drawRescaledImage in renderers.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/widgets/desktop.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/widgets/desktop.cpp b/src/gui/widgets/desktop.cpp index 7d464b46d..214fc6736 100644 --- a/src/gui/widgets/desktop.cpp +++ b/src/gui/widgets/desktop.cpp @@ -130,9 +130,7 @@ void Desktop::draw(gcn::Graphics *graphics) } else { - g->drawRescaledImage(mWallpaper, 0, 0, 0, 0, - wallpWidth, wallpHeight, - width, height, false); + g->drawRescaledImage(mWallpaper, 0, 0, width, height); } } else |