diff options
author | jurkan <jurkan@gmx.de> | 2012-07-10 21:33:59 +0200 |
---|---|---|
committer | jurkan <jurkan@gmx.de> | 2012-07-15 22:46:24 +0200 |
commit | 3fcc5566baf8ee329f24b7e884f604ce470dcfdd (patch) | |
tree | b0ec5d4e1eaa552bb8dc097afb4090c5f4d34596 /src/client.cpp | |
parent | 353a4bb01c7050273007527b33afc76d25d6cc71 (diff) | |
download | mana-3fcc5566baf8ee329f24b7e884f604ce470dcfdd.tar.gz mana-3fcc5566baf8ee329f24b7e884f604ce470dcfdd.tar.bz2 mana-3fcc5566baf8ee329f24b7e884f604ce470dcfdd.tar.xz mana-3fcc5566baf8ee329f24b7e884f604ce470dcfdd.zip |
Implemented client scaling in SDL mode
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/client.cpp b/src/client.cpp index ce29f1b1..fec41f5e 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1399,9 +1399,6 @@ void Client::handleVideoResize(int width, int height) width = std::max(640, width); height = std::max(360, height); - if (graphics->getWidth() == width && graphics->getHeight() == height) - return; - if (graphics->changeVideoMode(width, height, graphics->getBpp(), |