mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-27 21:01:37 +00:00
Bracey fellas.
This commit is contained in:
parent
97122daf3b
commit
cf33352c4d
1 changed files with 4 additions and 0 deletions
|
|
@ -1351,11 +1351,15 @@ void Video::CreateHostDevice()
|
||||||
{
|
{
|
||||||
case ETripleBuffering::Auto:
|
case ETripleBuffering::Auto:
|
||||||
if (g_vulkan)
|
if (g_vulkan)
|
||||||
|
{
|
||||||
// Defaulting to 3 is fine if presentWait as supported, as the maximum frame latency allowed is only 1.
|
// Defaulting to 3 is fine if presentWait as supported, as the maximum frame latency allowed is only 1.
|
||||||
bufferCount = g_device->getCapabilities().presentWait ? 3 : 2;
|
bufferCount = g_device->getCapabilities().presentWait ? 3 : 2;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
// Defaulting to 3 is fine on D3D12 thanks to flip discard model.
|
// Defaulting to 3 is fine on D3D12 thanks to flip discard model.
|
||||||
bufferCount = 3;
|
bufferCount = 3;
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case ETripleBuffering::On:
|
case ETripleBuffering::On:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue