From 789654d7da094e5086c6f154bbc279d6267a5b6d Mon Sep 17 00:00:00 2001 From: GPUCode <47210458+GPUCode@users.noreply.github.com> Date: Sat, 20 Jan 2024 22:16:43 +0200 Subject: [PATCH] core: Do not update framebuffer layout on android (#7330) --- src/core/core.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/core.cpp b/src/core/core.cpp index 58bb0d2a32..7e969f20a3 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -648,7 +648,9 @@ void System::ApplySettings() { GDBStub::ToggleServer(Settings::values.use_gdbstub.GetValue()); if (gpu) { +#ifndef ANDROID gpu->Renderer().UpdateCurrentFramebufferLayout(); +#endif auto& settings = gpu->Renderer().Settings(); settings.bg_color_update_requested = true; settings.shader_update_requested = true;