Closed MrOnlineCoder closed 5 months ago
Can you attach a link to test.jpg?
Thanks!
@slouken yea, sure, sorry, forgot that one. Hope Github will preserve the file completely, however it works with basically any JPG or PNG file.
Hey there. I can confirm this issue as well. Using the metal renderer on macOS will result in much darker colors. Even checked the master today. This is the exact same code running with different renderers on macOS 14.5
OS: Mac OS X 14.4.1 Compiler:
SDL version: SDL3
When loading textures with SDL_image and rendering them, they appear much darker if the current renderer is the "metal" one. Changing it to another renderer like "opengl" works fine and the textures are drawn correctly.
Reproduce code:
Attaching two screenshots from my machine, first is metal, second is opengl (no image or color corrections weren't applied to the screenshots, surely).
Passing NULL to SDL_CreateRenderer as a name also does not solve the problem, as metal backend is selected by default in that case.