Skip to content

Commit

Permalink
- Use SDL_WINDOWPOS_UNDEFINED when using a windowed mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
Blzut3 committed Jul 8, 2014
1 parent 7b1dadc commit 931700f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pcrlib_c.c
Original file line number Diff line number Diff line change
Expand Up @@ -1500,6 +1500,8 @@ void _setupgame (void)

if (windowed)
{
bounds.x = SDL_WINDOWPOS_UNDEFINED;
bounds.y = SDL_WINDOWPOS_UNDEFINED;
mode.w = winWidth;
mode.h = winHeight;
}
Expand Down

0 comments on commit 931700f

Please sign in to comment.