forked from bartvdbraak/blender
blenderplayer fix for "offset" problem when in fullscreen mode (worked together with Nathan Letwory - jesterKing)
The FullScreen state was never set. Therefore the window boundary was returning the wrong dimensions (it was assuming that it was not fullscreen). * Note: blender.exe -W has a similar problem. We are working on that ... Tested in Windows only. If someone can test in Linux and OSX please let me know if it's good there as well. To test it: ./blenderplayer -f myfile.blend
This commit is contained in:
parent
74b2022a82
commit
46f25680aa
@ -370,6 +370,7 @@ bool GPG_Application::startFullScreen(
|
||||
|
||||
fSystem->beginFullScreen(setting, &m_mainWindow, stereoVisual);
|
||||
m_mainWindow->setCursorVisibility(false);
|
||||
m_mainWindow->setState(GHOST_kWindowStateFullScreen);
|
||||
|
||||
success = initEngine(m_mainWindow, stereoMode);
|
||||
if (success) {
|
||||
|
Loading…
Reference in New Issue
Block a user