GUI window now attempts to open centered on screen, if running under X11. Fullsceen modes from the console are unaffected
This commit is contained in:
parent
dc0a410a7e
commit
7771596e16
1 changed files with 4 additions and 4 deletions
|
@ -307,10 +307,10 @@ int graphics_setup(void)
|
|||
if (sdlWindow == nullptr)
|
||||
{
|
||||
sdlWindow = SDL_CreateWindow("Amiberry",
|
||||
SDL_WINDOWPOS_UNDEFINED,
|
||||
SDL_WINDOWPOS_UNDEFINED,
|
||||
0,
|
||||
0,
|
||||
SDL_WINDOWPOS_CENTERED,
|
||||
SDL_WINDOWPOS_CENTERED,
|
||||
800,
|
||||
480,
|
||||
//SDL_WINDOW_FULLSCREEN);
|
||||
//SDL_WINDOW_FULLSCREEN_DESKTOP);
|
||||
SDL_WINDOW_SHOWN | SDL_WINDOW_RESIZABLE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue