Skip to content
Permalink
Browse files
Merge pull request #9775 from dbrookman/fix-gameini-gfxbackend
GameINI: Fix GFXBackend crash
  • Loading branch information
leoetlino committed Jun 15, 2021
2 parents d2d3647 + b214e0e commit ee58f1c
Showing 1 changed file with 3 additions and 0 deletions.
@@ -243,6 +243,9 @@ bool Init(std::unique_ptr<BootParameters> boot, const WindowSystemInfo& wsi)

Host_UpdateMainFrame(); // Disable any menus or buttons at boot

// Manually reactivate the video backend in case a GameINI overrides the video backend setting.
VideoBackendBase::PopulateBackendInfo();

// Issue any API calls which must occur on the main thread for the graphics backend.
WindowSystemInfo prepared_wsi(wsi);
g_video_backend->PrepareWindow(prepared_wsi);

0 comments on commit ee58f1c

Please sign in to comment.