Lokathor / fermium

An easy to build and use set of SDL2 bindings.
https://docs.rs/fermium
60 stars 14 forks source link

The `SDL_PIXELFORMAT_RGBA32` constant is set to the wrong value. #77

Closed NightShade256 closed 3 years ago

NightShade256 commented 3 years ago

The SDL_PIXELFORMAT_RGBA32 alias is set the SDL_PIXELFORMAT_RGBA8888 on big endian systems while it is set to SDL_PIXELFORMAT_ABGR8888 on little endian systems. SDL Wiki.

In the bindings however it is the other way around.

image

Lokathor commented 3 years ago

Fixed in fermium-20014.4.2