diff --git a/winrt/lib/drawing/CanvasDevice.cpp b/winrt/lib/drawing/CanvasDevice.cpp index 7e9f13be1..25d7d0599 100644 --- a/winrt/lib/drawing/CanvasDevice.cpp +++ b/winrt/lib/drawing/CanvasDevice.cpp @@ -1330,6 +1330,7 @@ namespace ABI { namespace Microsoft { namespace Graphics { namespace Canvas swapChainDesc.Scaling = DXGI_SCALING_STRETCH; swapChainDesc.SwapEffect = DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL; swapChainDesc.AlphaMode = ToDxgiAlphaMode(alphaMode); + swapChainDesc.Flags = DXGI_SWAP_CHAIN_FLAG_ALLOW_TEARING; ComPtr swapChain; ThrowIfCreateSurfaceFailed( diff --git a/winrt/lib/drawing/CanvasSwapChain.cpp b/winrt/lib/drawing/CanvasSwapChain.cpp index 58743bd1b..c8bdc85e3 100644 --- a/winrt/lib/drawing/CanvasSwapChain.cpp +++ b/winrt/lib/drawing/CanvasSwapChain.cpp @@ -561,7 +561,7 @@ namespace ABI { namespace Microsoft { namespace Graphics { namespace Canvas widthInPixels, heightInPixels, static_cast(newFormat), - 0)); + DXGI_SWAP_CHAIN_FLAG_ALLOW_TEARING)); if (!m_isTransformMatrixSupported) {