core: Do not update framebuffer layout on android (#7330)

This commit is contained in:
GPUCode 2024-01-20 22:16:43 +02:00 committed by GitHub
parent ca3b2306d5
commit 789654d7da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -648,7 +648,9 @@ void System::ApplySettings() {
GDBStub::ToggleServer(Settings::values.use_gdbstub.GetValue()); GDBStub::ToggleServer(Settings::values.use_gdbstub.GetValue());
if (gpu) { if (gpu) {
#ifndef ANDROID
gpu->Renderer().UpdateCurrentFramebufferLayout(); gpu->Renderer().UpdateCurrentFramebufferLayout();
#endif
auto& settings = gpu->Renderer().Settings(); auto& settings = gpu->Renderer().Settings();
settings.bg_color_update_requested = true; settings.bg_color_update_requested = true;
settings.shader_update_requested = true; settings.shader_update_requested = true;