更新 'src/Viewer/fg_os_osgviewer.cxx'

next
zhongjin 2 years ago
parent a2d91a1a74
commit a8d4ed76de

@ -587,7 +587,6 @@ void fgOSFullScreen()
* single display) - so we detect full screen mode using "WindowDecoration" state instead.
* "false" - even when a single window is display in fullscreen */
//bool isFullScreen = x == 0 && y == 0 && width == (int)screenWidth && height == (int)screenHeight;
bool isFullScreen = !window->getWindowDecoration();
SG_LOG(SG_VIEW, SG_DEBUG, "Toggling fullscreen. Previous window rectangle (" << x << ", " << y << ") x (" << width << ", " << height << "), fullscreen: " << isFullScreen << ", number of screens: " << wsi->getNumScreens());

Loading…
Cancel
Save