更新 'src/Viewer/fg_os_osgviewer.cxx'
This commit is contained in:
parent
2d8f6a994b
commit
5c1094967f
@ -588,9 +588,7 @@ void fgOSFullScreen()
|
|||||||
* "false" - even when a single window is display in fullscreen */
|
* "false" - even when a single window is display in fullscreen */
|
||||||
//bool isFullScreen = x == 0 && y == 0 && width == (int)screenWidth && height == (int)screenHeight;
|
//bool isFullScreen = x == 0 && y == 0 && width == (int)screenWidth && height == (int)screenHeight;
|
||||||
|
|
||||||
//bool isFullScreen = !window->getWindowDecoration();
|
bool isFullScreen = !window->getWindowDecoration();
|
||||||
|
|
||||||
bool isFullScreen = false;
|
|
||||||
|
|
||||||
SG_LOG(SG_VIEW, SG_DEBUG, "Toggling fullscreen. Previous window rectangle (" << x << ", " << y << ") x (" << width << ", " << height << "), fullscreen: " << isFullScreen << ", number of screens: " << wsi->getNumScreens());
|
SG_LOG(SG_VIEW, SG_DEBUG, "Toggling fullscreen. Previous window rectangle (" << x << ", " << y << ") x (" << width << ", " << height << "), fullscreen: " << isFullScreen << ", number of screens: " << wsi->getNumScreens());
|
||||||
if (isFullScreen) {
|
if (isFullScreen) {
|
||||||
|
Loading…
Reference in New Issue
Block a user