equal
deleted
inserted
replaced
453 {$IFDEF DEBUGFILE} |
453 {$IFDEF DEBUGFILE} |
454 AddFileLog('Prepare to change video parameters...'); |
454 AddFileLog('Prepare to change video parameters...'); |
455 {$ENDIF} |
455 {$ENDIF} |
456 SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1); |
456 SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1); |
457 |
457 |
458 flags:= SDL_OPENGL or SDL_RESIZABLE; |
458 flags:= SDL_OPENGL;// or SDL_RESIZABLE; |
459 if cFullScreen then |
459 if cFullScreen then |
460 begin |
460 begin |
461 flags:= flags or SDL_FULLSCREEN; |
461 flags:= flags or SDL_FULLSCREEN; |
462 cScreenWidth:= cInitWidth; |
462 cScreenWidth:= cInitWidth; |
463 cScreenHeight:= cInitHeight |
463 cScreenHeight:= cInitHeight |