mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Merge pull request #9775 from dbrookman/fix-gameini-gfxbackend
GameINI: Fix GFXBackend crash
This commit is contained in:
commit
ee58f1c188
@ -243,6 +243,9 @@ bool Init(std::unique_ptr<BootParameters> boot, const WindowSystemInfo& wsi)
|
|||||||
|
|
||||||
Host_UpdateMainFrame(); // Disable any menus or buttons at boot
|
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.
|
// Issue any API calls which must occur on the main thread for the graphics backend.
|
||||||
WindowSystemInfo prepared_wsi(wsi);
|
WindowSystemInfo prepared_wsi(wsi);
|
||||||
g_video_backend->PrepareWindow(prepared_wsi);
|
g_video_backend->PrepareWindow(prepared_wsi);
|
||||||
|
Loading…
Reference in New Issue
Block a user