Skip to content

Commit

Permalink
SDL: Allow toggling fullscreen for GLES2 on desktops.
Browse files Browse the repository at this point in the history
  • Loading branch information
orbea committed Dec 3, 2018
1 parent 95ffa15 commit 2bbe0d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SDL/SDLMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ int main(int argc, char *argv[]) {
}

// If we're on mobile, don't try for windowed either.
#if defined(USING_GLES2) || defined(MOBILE_DEVICE)
#if defined(MOBILE_DEVICE)
mode |= SDL_WINDOW_FULLSCREEN;
#else
mode |= SDL_WINDOW_RESIZABLE;
Expand Down

0 comments on commit 2bbe0d7

Please sign in to comment.