Fix UWP build

This commit is contained in:
Wojtek Figat
2022-09-06 19:35:11 +02:00
parent 450eedda02
commit 73d0fc4973
3 changed files with 8 additions and 11 deletions

View File

@@ -277,7 +277,9 @@ bool GPUDeviceDX11::Init()
&& GetModuleHandleA("renderdoc.dll") == nullptr // Disable tearing with RenderDoc (prevents crashing)
#endif
)
AllowTearing = true;
{
_allowTearing = true;
}
}
// Get flags and device type base on current configuration