diff options
author | MooglyGuy <MooglyGuy@users.noreply.github.com> | 2022-03-16 03:32:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-15 22:32:33 -0400 |
commit | 92ece92fedb15efa82a12901bc343b46a0f06905 (patch) | |
tree | dc16d467c041bb86470b409111d156ef803b73d3 /src/osd/windows | |
parent | 8d267ad2c7d3e757bf47d05ce816e060e37de401 (diff) |
Updated BGFX fixes; verified as working on Linux and Windows. (#9420)
* -bgfx: Improved stability when encountering missing files, and improved multi-window stability. [Ryan Holtz]
* -osd: Added video-init fallback functionality to other OSDs. [Ryan Holtz]
* -bgfx: Fixed issues from the previous batch of changes. [Ryan Holtz]
* -osdwindow: Remove no-longer-needed addition of post_create(). [Ryan Holtz]
Diffstat (limited to 'src/osd/windows')
-rw-r--r-- | src/osd/windows/window.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/osd/windows/window.cpp b/src/osd/windows/window.cpp index bcf89fc0267..f2c7b08db1a 100644 --- a/src/osd/windows/window.cpp +++ b/src/osd/windows/window.cpp @@ -130,6 +130,7 @@ bool windows_osd_interface::window_init() window_thread = GetCurrentThread(); window_threadid = main_threadid; + // initialize the renderer const int fallbacks[VIDEO_MODE_COUNT] = { -1, // NONE -> no fallback VIDEO_MODE_NONE, // GDI -> NONE @@ -151,7 +152,7 @@ bool windows_osd_interface::window_init() { bool error = false; switch(current_mode) - { + { case VIDEO_MODE_NONE: error = renderer_none::init(machine()); break; |