Set the icon for a window.
void SDL_SetWindowIcon(SDL_Window * window,
SDL_Surface * icon);
window | the window to change |
icon | an SDL_Surface structure containing the icon for the window |
This function is available since SDL 2.0.0.