src/video/windib/SDL_dibvideo.c
changeset 1145 d31afac94eff
parent 971 96671ebc50a4
child 1152 51a8702d8ecd
equal deleted inserted replaced
1144:509295d5a023 1145:d31afac94eff
   969 			DestroyIcon(screen_icn);
   969 			DestroyIcon(screen_icn);
   970 			screen_icn = NULL;
   970 			screen_icn = NULL;
   971 		}
   971 		}
   972 		DIB_QuitGamma(this);
   972 		DIB_QuitGamma(this);
   973 		DIB_DestroyWindow(this);
   973 		DIB_DestroyWindow(this);
       
   974 		SDL_UnregisterApp();
   974 		FlushMessageQueue();
   975 		FlushMessageQueue();
   975 
   976 
   976 		SDL_Window = NULL;
   977 		SDL_Window = NULL;
   977 	}
   978 	}
   978 }
   979 }