diff options
Diffstat (limited to 'source/gameengine/GamePlayer/ghost/GPG_Application.cpp')
-rw-r--r-- | source/gameengine/GamePlayer/ghost/GPG_Application.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/gameengine/GamePlayer/ghost/GPG_Application.cpp b/source/gameengine/GamePlayer/ghost/GPG_Application.cpp index 17e9e77b5d3..8aedb666c87 100644 --- a/source/gameengine/GamePlayer/ghost/GPG_Application.cpp +++ b/source/gameengine/GamePlayer/ghost/GPG_Application.cpp @@ -153,6 +153,7 @@ bool GPG_Application::startWindow(STR_String& title, * so that the client rectangle has the size requested. */ m_mainWindow->setClientSize(windowWidth, windowHeight); + m_mainWindow->setCursorVisibility(false); success = initEngine(m_mainWindow, stereoMode); if (success) { @@ -179,6 +180,7 @@ bool GPG_Application::startFullScreen( setting.frequency = frequency; fSystem->beginFullScreen(setting, &m_mainWindow, stereoVisual); + m_mainWindow->setCursorVisibility(false); success = initEngine(m_mainWindow, stereoMode); if (success) { |