From b2c7fae912fbb068bd00014299f647689fe97ee7 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 26 Jun 2021 05:46:37 +0200 Subject: [PATCH] desc.Flags should also be commented out for now --- gfx/drivers/d3d11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/drivers/d3d11.c b/gfx/drivers/d3d11.c index e4282e7a9b..22cf320e93 100644 --- a/gfx/drivers/d3d11.c +++ b/gfx/drivers/d3d11.c @@ -713,8 +713,8 @@ static bool d3d11_init_swapchain(d3d11_video_t* d3d11, /* 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; +#endif desc.SwapEffect = DXGI_SWAP_EFFECT_FLIP_DISCARD; #endif