mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
internal/ui: bug fix: FPS drop on fullscreen on macOS 13
Updates #1745 Closes #2495
This commit is contained in:
parent
1fc08d3d61
commit
b625cc84ce
@ -169,15 +169,6 @@ package ui
|
||||
// return;
|
||||
// }
|
||||
//
|
||||
// // Apparently, adjusting the view size is not needed as of macOS 12 (#1745).
|
||||
// static int majorVersion = 0;
|
||||
// if (majorVersion == 0) {
|
||||
// majorVersion = [[NSProcessInfo processInfo] operatingSystemVersion].majorVersion;
|
||||
// }
|
||||
// if (majorVersion >= 12) {
|
||||
// return;
|
||||
// }
|
||||
//
|
||||
// // Reduce the view height (#1745).
|
||||
// // https://stackoverflow.com/questions/27758027/sprite-kit-serious-fps-issue-in-full-screen-mode-on-os-x
|
||||
// CGSize windowSize = [window frame].size;
|
||||
|
Loading…
Reference in New Issue
Block a user