-
Notifications
You must be signed in to change notification settings - Fork 473
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
sdl2 gfx demo random pixels : macbook air M2 #1360
Comments
Can you reproduce this if you write this in C? It might be a SDL2 bug and not a rust-sdl2 bug itself (although it might be). |
Yep...same behaviour with this program so its an SDL issue not a rust issue. You can close this.
|
Or more likely...a bug in the apple metal framework which i think SDL2 hooks into. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a Macbook Air M2. I use brew to install sdl2 and have 2.28.5. examples/gfx-demo.rs compiles and runs. When I click in the screen it draws lines but there are large square pixel blocks that have random colours. This seems to suggest some kind of initialisation bug where its not zeroing things before drawing.
Cargo.toml...
The text was updated successfully, but these errors were encountered: