odin-lang / Odin

Odin Programming Language
https://odin-lang.org
BSD 3-Clause "New" or "Revised" License
6.17k stars 550 forks source link

Updated SDL_CreateTexture to take `PixelFormatEnum` instead of `u32` #3694

Closed rope-hmg closed 1 month ago

rope-hmg commented 1 month ago

This allows for passing .RGBA8888 directly instead of u32(SDL.PixelFormatEnum.RGBA8888).