equal
deleted
inserted
replaced
685 {$IFDEF SDL13} |
685 {$IFDEF SDL13} |
686 window: PSDL_Window; |
686 window: PSDL_Window; |
687 {$ENDIF} |
687 {$ENDIF} |
688 begin |
688 begin |
689 s:= s; // avoid compiler hint |
689 s:= s; // avoid compiler hint |
690 buf[0]:= char(0); // avoid compiler hint |
|
691 if Length(s) = 0 then cFullScreen:= not cFullScreen |
690 if Length(s) = 0 then cFullScreen:= not cFullScreen |
692 else cFullScreen:= s = '1'; |
691 else cFullScreen:= s = '1'; |
693 |
692 |
694 {$IFDEF DEBUGFILE} |
693 {$IFDEF DEBUGFILE} |
|
694 buf[0]:= char(0); // avoid compiler hint |
695 AddFileLog('Prepare to change video parameters...'); |
695 AddFileLog('Prepare to change video parameters...'); |
696 {$ENDIF} |
696 {$ENDIF} |
697 |
697 |
698 flags:= SDL_OPENGL;// or SDL_RESIZABLE; |
698 flags:= SDL_OPENGL;// or SDL_RESIZABLE; |
699 |
699 |