Skip to content

Commit

Permalink
Fix drm compilation issue on InitWindow
Browse files Browse the repository at this point in the history
  • Loading branch information
ubkp committed Oct 13, 2023
1 parent 0f4a8cf commit 7057875
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/rcore_drm.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,16 +228,16 @@ void InitWindow(int width, int height, const char *title)

// Set some default window flags
CORE.Window.flags &= ~FLAG_WINDOW_HIDDEN; // false
CORE.Window.flags &= ~FLAG_WINDOW_MINIMIZED); // false
CORE.Window.flags |= FLAG_WINDOW_MAXIMIZED); // true
CORE.Window.flags &= ~FLAG_WINDOW_UNFOCUSED); // false
CORE.Window.flags &= ~FLAG_WINDOW_MINIMIZED; // false
CORE.Window.flags |= FLAG_WINDOW_MAXIMIZED; // true
CORE.Window.flags &= ~FLAG_WINDOW_UNFOCUSED; // false

// Initialize hi-res timer
InitTimer();

// Initialize base path for storage
CORE.Storage.basePath = GetWorkingDirectory();

// Initialize raw input system
InitEvdevInput(); // Evdev inputs initialization
InitGamepad(); // Gamepad init
Expand Down

0 comments on commit 7057875

Please sign in to comment.