From 8c4241d529a4306125ff74c3c2bf6ae09b5d5f56 Mon Sep 17 00:00:00 2001 From: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com> Date: Mon, 27 Jan 2025 23:44:52 +0300 Subject: [PATCH] Fix aspect ratio option sometimes crashing the game when changing it. --- UnleashedRecomp/gpu/video.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UnleashedRecomp/gpu/video.cpp b/UnleashedRecomp/gpu/video.cpp index e2501e6b..23ad0868 100644 --- a/UnleashedRecomp/gpu/video.cpp +++ b/UnleashedRecomp/gpu/video.cpp @@ -1397,6 +1397,8 @@ static void BeginCommandList() g_intermediaryBackBufferTextureWidth = width; g_intermediaryBackBufferTextureHeight = height; + + g_backBuffer->framebuffers.clear(); } g_backBuffer->texture = g_intermediaryBackBufferTexture.get();