mirror of https://github.com/snes9xgit/snes9x.git
Vulkan/Win32: Fix compile error.
This commit is contained in:
parent
008cbcd1a1
commit
a9e64edf73
|
@ -178,7 +178,7 @@ bool CVulkan::ChangeRenderSize(unsigned int newWidth, unsigned int newHeight)
|
||||||
if (!context)
|
if (!context)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (newWidth != current_width || newHeight != current_height || vsync_changed)
|
if (newWidth != current_width || newHeight != current_height)
|
||||||
{
|
{
|
||||||
context->recreate_swapchain(newWidth, newHeight);
|
context->recreate_swapchain(newWidth, newHeight);
|
||||||
context->wait_idle();
|
context->wait_idle();
|
||||||
|
|
Loading…
Reference in New Issue