From eda234f5e156d376541044b351fd2e1e766700a3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 2 Jul 2014 19:33:01 +0300 Subject: Fix resize in modernopengl with own context in SDL1.2 build. --- src/render/graphics.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/render/graphics.cpp') 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; -- cgit v1.2.3-70-g09d2