hedgewars/CCHandlers.inc
changeset 2351 a4a17b8df591
parent 2314 953771a06c64
child 2372 f3e7a066c2b8
equal deleted inserted replaced
2350:1eef75bdcdba 2351:a4a17b8df591
   575 if cFullScreen then
   575 if cFullScreen then
   576 	begin
   576 	begin
   577 	flags:= flags or SDL_FULLSCREEN;
   577 	flags:= flags or SDL_FULLSCREEN;
   578 	cScreenWidth:= cInitWidth;
   578 	cScreenWidth:= cInitWidth;
   579 	cScreenHeight:= cInitHeight
   579 	cScreenHeight:= cInitHeight
   580 	end
   580 	end;
   581 	else SDL_WM_SetCaption('Hedgewars', nil);
   581 
       
   582 SDL_WM_SetCaption('Hedgewars', nil);
   582 {$IFDEF DEBUGFILE}
   583 {$IFDEF DEBUGFILE}
   583 AddFileLog('Freeing old primary surface...');
   584 AddFileLog('Freeing old primary surface...');
   584 {$ENDIF}
   585 {$ENDIF}
   585 if SDLPrimSurface <> nil then SDL_FreeSurface(SDLPrimSurface);
   586 if SDLPrimSurface <> nil then SDL_FreeSurface(SDLPrimSurface);
   586 
   587