瀏覽代碼

I think this is ok, "resizable" property might change

Ariel Manzur 9 年之前
父節點
當前提交
de3ed61fc5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      platform/osx/os_osx.mm

+ 1 - 1
platform/osx/os_osx.mm

@@ -921,7 +921,7 @@ void OS_OSX::initialize(const VideoMode& p_desired,int p_video_driver,int p_audi
 #if MAC_OS_X_VERSION_MAX_ALLOWED >= 1070
 #if MAC_OS_X_VERSION_MAX_ALLOWED >= 1070
 	if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_6) {
 	if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_6) {
 	    [window_view setWantsBestResolutionOpenGLSurface:YES];
 	    [window_view setWantsBestResolutionOpenGLSurface:YES];
-	    if (current_videomode.resizable)
+	    //if (current_videomode.resizable)
 		[window_object setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary];
 		[window_object setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary];
 	}
 	}
 #endif /*MAC_OS_X_VERSION_MAX_ALLOWED*/
 #endif /*MAC_OS_X_VERSION_MAX_ALLOWED*/