Fix aspect ratio option sometimes crashing the game when changing it. (#218)

This commit is contained in:
Skyth (Asilkan) 2025-01-27 23:47:34 +03:00 committed by GitHub
parent 9521cb3ee9
commit 64a927615d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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();