src/video/windx5/SDL_dx5video.c
changeset 1145 d31afac94eff
parent 971 96671ebc50a4
child 1280 f61f045343d3
equal deleted inserted replaced
1144:509295d5a023 1145:d31afac94eff
  2385 
  2385 
  2386 	/* Free the window */
  2386 	/* Free the window */
  2387 	DIB_QuitGamma(this);
  2387 	DIB_QuitGamma(this);
  2388 	if ( SDL_Window ) {
  2388 	if ( SDL_Window ) {
  2389 		DX5_DestroyWindow(this);
  2389 		DX5_DestroyWindow(this);
       
  2390 		SDL_UnregisterApp();
  2390 		FlushMessageQueue();
  2391 		FlushMessageQueue();
  2391 	}
  2392 	}
  2392 
  2393 
  2393 	/* Free our window icon */
  2394 	/* Free our window icon */
  2394 	if ( screen_icn ) {
  2395 	if ( screen_icn ) {