The OpenGL-on-Metal drivers used on these machines don't support CGLSetFullScreenOnDisplay, so we need to disable it on those machines. This also applies when running a x86_64 app through Rosetta 2, hence the sysctlbyname check. Furthermore, we need to set the appropriate shielding level, which need not be `NSMainMenuWindowLevel+1`. Fixes #1316 Co-authored-by: LD <laurent.deru@gmail.com> |
||
|---|---|---|
| .. | ||
| metalibs | ||
| src | ||