mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
internal/uidriver/glfw: Adjusting the view size is not needed on macOS 12
Updates #1745
This commit is contained in:
parent
2b1e961540
commit
ef5f8a9018
@ -71,6 +71,15 @@ package glfw
|
||||
// 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