From: Stefan Dösinger Subject: [PATCH 3/5] Include: Add DXGI_SWAP_EFFECT_FLIP_DISCARD. Message-Id: <1448399926-17845-3-git-send-email-stefan@codeweavers.com> Date: Tue, 24 Nov 2015 22:18:44 +0100 In-Reply-To: <1448399926-17845-1-git-send-email-stefan@codeweavers.com> References: <1448399926-17845-1-git-send-email-stefan@codeweavers.com> New on Windows 10. It isn't in my Visual Studio 2015 headers. I got the value from https://msdn.microsoft.com/en-us/library/windows/desktop/bb173077%28v=vs.85%29.aspx. Signed-off-by: Stefan Dösinger --- include/dxgi.idl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/dxgi.idl b/include/dxgi.idl index dd16309..cc98970 100644 --- a/include/dxgi.idl +++ b/include/dxgi.idl @@ -69,7 +69,8 @@ const UINT DXGI_ENUM_MODES_SCALING = 2; typedef enum DXGI_SWAP_EFFECT { DXGI_SWAP_EFFECT_DISCARD = 0, DXGI_SWAP_EFFECT_SEQUENTIAL = 1, - DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL = 3 + DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL = 3, + DXGI_SWAP_EFFECT_FLIP_DISCARD = 4 } DXGI_SWAP_EFFECT; typedef enum DXGI_RESIDENCY { -- 2.4.10