Fix aspect ratio option sometimes crashing the game when changing it.

This commit is contained in:
Skyth 2025-01-27 23:44:52 +03:00
parent 9521cb3ee9
commit 8c4241d529

View file

@ -1397,6 +1397,8 @@ static void BeginCommandList()
g_intermediaryBackBufferTextureWidth = width;
g_intermediaryBackBufferTextureHeight = height;
g_backBuffer->framebuffers.clear();
}
g_backBuffer->texture = g_intermediaryBackBufferTexture.get();