Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion sources/Adapters/SDL2/GUI/SDLGUIWindowImp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ SDLGUIWindowImp::SDLGUIWindowImp(GUICreateWindowParams &p) {
const char *fullscreenValue = Config::GetInstance()->GetValue("FULLSCREEN");
if ((fullscreenValue) && (!strcmp(fullscreenValue, "YES"))) {
fullscreen = true;
windowed_ = false;
}

if (!strcmp(driverName, "fbcon")) {
Expand Down Expand Up @@ -104,7 +105,7 @@ SDLGUIWindowImp::SDLGUIWindowImp(GUICreateWindowParams &p) {
window_ = SDL_CreateWindow(
"LittleGPTracker", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED,
screenRect_.Width(), screenRect_.Height(),
fullscreen ? SDL_WINDOW_FULLSCREEN : SDL_WINDOW_SHOWN);
fullscreen ? SDL_WINDOW_FULLSCREEN_DESKTOP : SDL_WINDOW_SHOWN);
NAssert(window_);

// Compute the x & y offset to locate our app window
Expand Down