diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2013-04-12 05:52:30 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2013-04-12 05:52:30 +0400 |
commit | 1c80388a737b306ad07669b83c49801e4582a461 (patch) | |
tree | 0adac0bd2b8ecc6e553517d74bf9c8090995d319 /source/gameengine/GamePlayer | |
parent | 502ddd312879316c13f66d84c4ffe0927df53a06 (diff) |
bge fix: framing mode "Expanded" not updated when resizing blenderplayer
now, with a 'resize' routine for the engine we can/should also recreate some
buffers that are created only at init time (e.g., 2d filters, dome fbos, ...).
This bug was always present in Blender (since 2.49 at least).
Bugfix supported by NF-UBC Nereus Program as part of the development
of OceanViz/NereusViz
Diffstat (limited to 'source/gameengine/GamePlayer')
-rw-r--r-- | source/gameengine/GamePlayer/ghost/GPG_Application.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gameengine/GamePlayer/ghost/GPG_Application.cpp b/source/gameengine/GamePlayer/ghost/GPG_Application.cpp index 58710120afa..31ce1869544 100644 --- a/source/gameengine/GamePlayer/ghost/GPG_Application.cpp +++ b/source/gameengine/GamePlayer/ghost/GPG_Application.cpp @@ -503,6 +503,7 @@ bool GPG_Application::processEvent(GHOST_IEvent* event) GHOST_Rect bnds; window->getClientBounds(bnds); m_canvas->Resize(bnds.getWidth(), bnds.getHeight()); + m_ketsjiengine->Resize(); } } break; |