(D3D11) Disable tear control support for UWP for now

This commit is contained in:
twinaphex 2021-06-26 05:40:41 +02:00
parent 0785d4aa72
commit 13e88ebe74

View File

@ -709,7 +709,11 @@ static bool d3d11_init_swapchain(d3d11_video_t* d3d11,
desc.SwapEffect = DXGI_SWAP_EFFECT_DISCARD;
#else
d3d11->has_flip_model = true;
#if 0
/* TODO/FIXME - disable tear support for now for UWP
* until we can check for this at runtime */
d3d11->has_allow_tearing = true;
#endif
desc.Flags = DXGI_SWAP_CHAIN_FLAG_ALLOW_TEARING;
desc.SwapEffect = DXGI_SWAP_EFFECT_FLIP_DISCARD;
#endif