Skip to content

Commit

Permalink
Update pt2_visuals.c
Browse files Browse the repository at this point in the history
  • Loading branch information
8bitbubsy committed May 12, 2020
1 parent c29ba66 commit c06010d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pt2_visuals.c
Original file line number Diff line number Diff line change
Expand Up @@ -2518,9 +2518,10 @@ bool setupVideo(void)
}
}

uint32_t windowFlags = SDL_WINDOW_HIDDEN | SDL_WINDOW_ALLOW_HIGHDPI;

video.window = SDL_CreateWindow("", SDL_WINDOWPOS_CENTERED,
SDL_WINDOWPOS_CENTERED, screenW, screenH,
SDL_WINDOW_HIDDEN | SDL_WINDOW_ALLOW_HIGHDPI);
SDL_WINDOWPOS_CENTERED, screenW, screenH, windowFlags);

if (video.window == NULL)
{
Expand Down

0 comments on commit c06010d

Please sign in to comment.