[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [31922] trunk/blender/source/gameengine/ GamePlayer/ghost/GPG_Application.cpp: blenderplayer fix for "offset" problem when in fullscreen mode ( worked together with Nathan Letwory - jesterKing)
Dalai Felinto
dfelinto at gmail.com
Tue Sep 14 10:19:43 CEST 2010
Revision: 31922
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=31922
Author: dfelinto
Date: 2010-09-14 10:19:42 +0200 (Tue, 14 Sep 2010)
Log Message:
-----------
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
Modified Paths:
--------------
trunk/blender/source/gameengine/GamePlayer/ghost/GPG_Application.cpp
Modified: trunk/blender/source/gameengine/GamePlayer/ghost/GPG_Application.cpp
===================================================================
--- trunk/blender/source/gameengine/GamePlayer/ghost/GPG_Application.cpp 2010-09-14 04:58:25 UTC (rev 31921)
+++ trunk/blender/source/gameengine/GamePlayer/ghost/GPG_Application.cpp 2010-09-14 08:19:42 UTC (rev 31922)
@@ -370,6 +370,7 @@
fSystem->beginFullScreen(setting, &m_mainWindow, stereoVisual);
m_mainWindow->setCursorVisibility(false);
+ m_mainWindow->setState(GHOST_kWindowStateFullScreen);
success = initEngine(m_mainWindow, stereoMode);
if (success) {
More information about the Bf-blender-cvs
mailing list