From 7cda69017a00e685ab50b301350f6fe7c07fa224 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 19 Jan 2025 10:47:30 -0800 Subject: [PATCH] tray: fixed icon colors on Windows --- src/video/windows/SDL_surface_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/windows/SDL_surface_utils.c b/src/video/windows/SDL_surface_utils.c index e6a071f0cdee9..7f9245c1e054b 100644 --- a/src/video/windows/SDL_surface_utils.c +++ b/src/video/windows/SDL_surface_utils.c @@ -27,7 +27,7 @@ #if !(defined(SDL_PLATFORM_XBOXONE) || defined(SDL_PLATFORM_XBOXSERIES)) HICON CreateIconFromSurface(SDL_Surface *surface) { - SDL_Surface *s = SDL_ConvertSurface(surface, SDL_PIXELFORMAT_RGBA32); + SDL_Surface *s = SDL_ConvertSurface(surface, SDL_PIXELFORMAT_ARGB8888); if (!s) { return NULL; }