From 64a927615db5e2171a7d3b6f4c0433b0d3bb0ac9 Mon Sep 17 00:00:00 2001 From: "Skyth (Asilkan)" <19259897+blueskythlikesclouds@users.noreply.github.com> Date: Mon, 27 Jan 2025 23:47:34 +0300 Subject: [PATCH] Fix aspect ratio option sometimes crashing the game when changing it. (#218) --- UnleashedRecomp/gpu/video.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UnleashedRecomp/gpu/video.cpp b/UnleashedRecomp/gpu/video.cpp index e2501e6..23ad086 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();