diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-28 00:30:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-28 23:35:20 +0300 |
commit | a0b2deb4192bddad4d061f5d5df86411a437f01f (patch) | |
tree | 4739472959d83045eac4d7f7ddf3dc265d37b45c /src/client.h | |
parent | 226202ff807dc860991af0d6665ef9e9b48c1bed (diff) | |
download | plus-a0b2deb4192bddad4d061f5d5df86411a437f01f.tar.gz plus-a0b2deb4192bddad4d061f5d5df86411a437f01f.tar.bz2 plus-a0b2deb4192bddad4d061f5d5df86411a437f01f.tar.xz plus-a0b2deb4192bddad4d061f5d5df86411a437f01f.zip |
add support for screen scale in OpenGL modes.
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client.h b/src/client.h index 7a88c6734..82bb4be15 100644 --- a/src/client.h +++ b/src/client.h @@ -311,7 +311,9 @@ public: void writePacketLimits(const std::string &packetLimitsName) const; - void resizeVideo(int width, int height, const bool always = false); + void resizeVideo(int actualWidth, + int actualHeight, + const bool always); bool limitPackets(const int type) A_WARN_UNUSED; |