mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-10-30 07:11:05 +00:00
Fix aspect ratio option sometimes crashing the game when changing it. (#218)
This commit is contained in:
parent
9521cb3ee9
commit
64a927615d
1 changed files with 2 additions and 0 deletions
|
|
@ -1397,6 +1397,8 @@ static void BeginCommandList()
|
||||||
|
|
||||||
g_intermediaryBackBufferTextureWidth = width;
|
g_intermediaryBackBufferTextureWidth = width;
|
||||||
g_intermediaryBackBufferTextureHeight = height;
|
g_intermediaryBackBufferTextureHeight = height;
|
||||||
|
|
||||||
|
g_backBuffer->framebuffers.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
g_backBuffer->texture = g_intermediaryBackBufferTexture.get();
|
g_backBuffer->texture = g_intermediaryBackBufferTexture.get();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue