Skip to content

Commit

Permalink
tray: fixed icon colors on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 19, 2025
1 parent 734cd2e commit 7cda690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/windows/SDL_surface_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 7cda690

Please sign in to comment.