diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-02 19:33:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-02 19:33:01 +0300 |
commit | eda234f5e156d376541044b351fd2e1e766700a3 (patch) | |
tree | 56ef425beb88fe84c280dea3a3ddeef676553589 /src/render/graphics.h | |
parent | 5ce62dae5b3848833765a19296ffd9fd7e9721d8 (diff) | |
download | manaplus-eda234f5e156d376541044b351fd2e1e766700a3.tar.gz manaplus-eda234f5e156d376541044b351fd2e1e766700a3.tar.bz2 manaplus-eda234f5e156d376541044b351fd2e1e766700a3.tar.xz manaplus-eda234f5e156d376541044b351fd2e1e766700a3.zip |
Fix resize in modernopengl with own context in SDL1.2 build.
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r-- | src/render/graphics.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h index e05f23a84..3a051ed55 100644 --- a/src/render/graphics.h +++ b/src/render/graphics.h @@ -167,6 +167,9 @@ class Graphics notfinal */ virtual bool resizeScreen(const int width, const int height); + virtual void restoreContext() + { } + /** * Draws a resclaled version of the image */ @@ -468,6 +471,9 @@ class Graphics notfinal uint32_t *const arr A_UNUSED) { } + virtual void screenResized() + { } + int mWidth; int mHeight; int mActualWidth; |