mirror of
https://git.uzuy-edge.org/Uzuy-X/Uzuy.git
synced 2024-11-30 11:50:26 +00:00
config: Fixes Crash When Switching From Vulkan To Null
TODO: Automatically Enable Null When FPS Drops To 0.0 Then Switch Back To Vulkan [Temporary Fix] For The Owl Bug 0.0
This commit is contained in:
parent
bf3ca4199c
commit
403beb36af
@ -225,7 +225,7 @@ void ConfigureGraphics::PopulateVSyncModeSelection(bool use_setting) {
|
||||
|
||||
void ConfigureGraphics::UpdateVsyncSetting() const {
|
||||
const Settings::RendererBackend backend{GetCurrentGraphicsBackend()};
|
||||
if (backend == Settings::RendererBackend::Null) {
|
||||
if (backend == Settings::RendererBackend::Null || vsync_mode_combobox_enum_map.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user