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.cpp | |
parent | 5ce62dae5b3848833765a19296ffd9fd7e9721d8 (diff) | |
download | mv-eda234f5e156d376541044b351fd2e1e766700a3.tar.gz mv-eda234f5e156d376541044b351fd2e1e766700a3.tar.bz2 mv-eda234f5e156d376541044b351fd2e1e766700a3.tar.xz mv-eda234f5e156d376541044b351fd2e1e766700a3.zip |
Fix resize in modernopengl with own context in SDL1.2 build.
Diffstat (limited to 'src/render/graphics.cpp')
-rw-r--r-- | src/render/graphics.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/graphics.cpp b/src/render/graphics.cpp index a9dc968db..4c5d1d282 100644 --- a/src/render/graphics.cpp +++ b/src/render/graphics.cpp @@ -504,6 +504,7 @@ bool Graphics::resizeScreen(const int width, const int height) // +++ need impliment resize in soft mode #endif // USE_OPENGL + screenResized(); beginDraw(); return true; @@ -527,6 +528,7 @@ bool Graphics::resizeScreen(const int width, const int height) } } + screenResized(); beginDraw(); return success; |