diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-08 15:39:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-08 15:39:39 +0300 |
commit | 6f51329225efbf5c435d087df3d3e855e93c62b6 (patch) | |
tree | a155ab6f2ce101cbfc5081d515720a32a5c357b4 /src/render/graphics.h | |
parent | 363bcc8b277f8c546d9bde4ec2eeae16bcd7f225 (diff) | |
download | manaverse-6f51329225efbf5c435d087df3d3e855e93c62b6.tar.gz manaverse-6f51329225efbf5c435d087df3d3e855e93c62b6.tar.bz2 manaverse-6f51329225efbf5c435d087df3d3e855e93c62b6.tar.xz manaverse-6f51329225efbf5c435d087df3d3e855e93c62b6.zip |
fix window resize from settings in SDL2.
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r-- | src/render/graphics.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h index eec6e4c9d..3d6a9fa62 100644 --- a/src/render/graphics.h +++ b/src/render/graphics.h @@ -267,6 +267,8 @@ class Graphics : public gcn::Graphics */ virtual void updateScreen() = 0; + void setWindowSize(const int width, const int height); + /** * Returns the width of the screen. */ |