Updates the system tray icon's icon.
Defined in <SDL3/SDL_tray.h>
void SDL_SetTrayIcon(SDL_Tray *tray, SDL_Surface *icon);
SDL_Tray * | tray | the tray icon to be updated. |
SDL_Surface * | icon | the new icon. May be NULL. |
This function is available since SDL 3.2.0.