diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ahoy/gui.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ahoy/gui.c b/src/ahoy/gui.c index 072d5b9..083d4e2 100644 --- a/src/ahoy/gui.c +++ b/src/ahoy/gui.c @@ -30,9 +30,9 @@ wininit(void) if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER) != 0) diesx("failed to initialize SDL"); - win = SDL_CreateWindow("Ahoy! CHIP-8 Emulator", SDL_WINDOWPOS_CENTERED, - SDL_WINDOWPOS_CENTERED, SCR_WDTH * SCR_SCALE, - SCR_HIGH * SCR_SCALE, 0); + win = SDL_CreateWindow("Ahoy! CHIP-8 Emulator", SDL_WINDOWPOS_UNDEFINED, + SDL_WINDOWPOS_UNDEFINED, SCR_WDTH * SCR_SCALE, + SCR_HIGH * SCR_SCALE, SDL_WINDOW_RESIZABLE); if (!win) diesx("failed to create window"); |