Skip to content

Commit a974888

Browse files
committed
tray: fixed icon colors on Windows
1 parent 7570ab1 commit a974888

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/video/windows/SDL_surface_utils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#if !(defined(SDL_PLATFORM_XBOXONE) || defined(SDL_PLATFORM_XBOXSERIES))
2828
HICON CreateIconFromSurface(SDL_Surface *surface)
2929
{
30-
SDL_Surface *s = SDL_ConvertSurface(surface, SDL_PIXELFORMAT_RGBA32);
30+
SDL_Surface *s = SDL_ConvertSurface(surface, SDL_PIXELFORMAT_ARGB8888);
3131
if (!s) {
3232
return NULL;
3333
}

0 commit comments

Comments
 (0)