Added FG reset to clear render target

This commit is contained in:
cdozdil
2025-09-19 21:47:04 +03:00
parent 8a027c92d8
commit 8cc84fc949
+8
View File
@@ -545,6 +545,14 @@ void MenuOverlayDx::CleanupRenderTarget(bool clearQueue, HWND hWnd)
{
LOG_FUNC();
auto fg = State::Instance().currentFG;
if (fg->IsActive())
{
State::Instance().FGchanged = true;
fg->UpdateTarget();
fg->Deactivate();
}
if (_dx11Device)
CleanupRenderTargetDx11(false);
else