NoGUI: Fix crash on startup with exclusive fullscreen

This commit is contained in:
Connor McLaughlin
2021-05-21 13:10:23 +10:00
parent 79549a2a51
commit 6aa78b11fe
8 changed files with 17 additions and 16 deletions

View File

@@ -43,11 +43,11 @@ protected:
void RequestExit() override;
virtual bool CreatePlatformWindow(bool fullscreen) = 0;
virtual bool CreatePlatformWindow() = 0;
virtual void DestroyPlatformWindow() = 0;
virtual std::optional<WindowInfo> GetPlatformWindowInfo() = 0;
bool CreateDisplay();
bool CreateDisplay(bool fullscreen);
void DestroyDisplay();
void RunCallbacks();