-
-
Notifications
You must be signed in to change notification settings - Fork 381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Tutorial 2.2 - Camera" don't work on macos #1863
Comments
Looks like the PreferredDepthBufferBits aren’t set. |
I manually set it with |
Oh, in which case I’ll put this down to Apple’s terrible OpenGL support. PreferredDepthBufferBits being null means that the depth buffer is in an entirely undefined state, which in my experience leads NVIDIA to set up a sensible depth buffer but AMD and other implementations tend to interpret this as “oh well we don’t need a depth buffer then”. |
I wonder if the depth function is inversed. OpenGL is probably in a weird state. (I know mac doesnt play nice from what I've seen in PPSSPP) |
I had the same problem on linux and this solved it. Thanks!!! |
Can confirm this also happened on MacOS M1 Pro. |
Also on Windows 10 Pro 19045.4046 (GPU integrated AMD Ryzen 7 4700U) The problem is global This fixes:
|
In response to user feedback we've changed the default behaviour to always use 24/8 if both preference properties are null (as they are by default), see #1991 |
Summary
"Tutorial 2.2 - Camera" works as expected on Windows, but it seems to have a depth detection problem on my Mac.
Steps to reproduce
Comments
I am testing in an Apple M1 Pro
macOS: Sonoma 14.2.1
The text was updated successfully, but these errors were encountered: