Open computermouth opened 1 year ago
Confirmed that this doesn't happen with the same code on my system with c+sdl2, or rust+fermium(sdl2-bindings)
Are you 100% sure the same SDL version is used in the other examples? When I'm running your example on my machine I get the screenshot above, which seems correct.
By the way, my SDL2 is on version 2.28.8, and I am on linux as well.
I have a couple snippets of code that are drawing rectangles:
They all seem to be drawing the bottom-right pixel at the top left. Screenshot and system information below. Source is available here: https://github.com/computermouth/rustsdlsnake/blob/master/src/main.rs
Cargo.toml:
rust:
OS:
SDL2: