diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp index 45cf304644..520cd39712 100644 --- a/src/yuzu/bootmanager.cpp +++ b/src/yuzu/bootmanager.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project +// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project // SPDX-License-Identifier: GPL-3.0-or-later #include @@ -193,6 +193,13 @@ public: } void SwapBuffers() override { + if (auto window = dynamic_cast(surface)) { + if (!window->isExposed()) { + LOG_DEBUG(Frontend, "SwapBuffers ignored: window not exposed"); + return; + } + } + context->swapBuffers(surface); }