src/video/windx5/SDL_dx5video.c
changeset 1288 ea3888b472bf
parent 1280 f61f045343d3
child 1290 c4a5a772c5d9
equal deleted inserted replaced
1287:15a89a0c52bf 1288:ea3888b472bf
  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();
       
  2391 		FlushMessageQueue();
  2390 		FlushMessageQueue();
  2392 	}
  2391 	}
  2393 
  2392 
  2394 	/* Free our window icon */
  2393 	/* Free our window icon */
  2395 	if ( screen_icn ) {
  2394 	if ( screen_icn ) {