Added an alternate compile path for Windows in the toggle of fullscreen

for the first time.
This commit is contained in:
Robert Osfield
2003-04-17 13:57:15 +00:00
parent 67f5cc46c1
commit d0aac6e6f0

View File

@@ -785,8 +785,13 @@ bool ViewerEventHandler::handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActio
if (_firstTimeTogglingFullScreen && rs->isFullScreen())
{
rs->setWindowRectangle(240,220,800,600);
#ifndef WIN32
rs->useBorder(true);
rs->setWindowRectangle(240,220,800,600);
#else
rs->fullScreen(false);
rs->setWindowRectangle(240,220,800,600);
#endif
}
else
{