mirror of
https://github.com/Vita3K/Vita3K-Android.git
synced 2024-11-23 05:29:54 +00:00
gui/settings dialog: Fix Surface Sync using OpenGL (#3255)
This commit is contained in:
parent
cb15157c13
commit
2424f92c2e
@ -626,7 +626,7 @@ void draw_settings_dialog(GuiState &gui, EmuEnvState &emuenv) {
|
||||
|
||||
const bool has_integer_multiplier = static_cast<int>(config.resolution_multiplier * 4.0f) % 4 == 0;
|
||||
// OpenGL does not support surface sync with a non-integer resolution multiplier
|
||||
if (!is_vulkan && has_integer_multiplier)
|
||||
if (!is_vulkan && !has_integer_multiplier)
|
||||
config.disable_surface_sync = true;
|
||||
|
||||
if ((!is_vulkan && has_integer_multiplier) || emuenv.renderer->features.support_memory_mapping) {
|
||||
|
Loading…
Reference in New Issue
Block a user