src/SDL_compat.c
changeset 5612 41f033e6f311
parent 5535 96594ac5fd1a
child 5941 e4e18a80be61
equal deleted inserted replaced
5611:d20007078cd1 5612:41f033e6f311
   819 
   819 
   820 void
   820 void
   821 SDL_WM_SetIcon(SDL_Surface * icon, Uint8 * mask)
   821 SDL_WM_SetIcon(SDL_Surface * icon, Uint8 * mask)
   822 {
   822 {
   823     SDL_VideoIcon = icon;
   823     SDL_VideoIcon = icon;
       
   824     ++SDL_VideoIcon->refcount;
   824 }
   825 }
   825 
   826 
   826 int
   827 int
   827 SDL_WM_IconifyWindow(void)
   828 SDL_WM_IconifyWindow(void)
   828 {
   829 {