Repository: retep998/winapi-rs (language: rust)

Issue:
DXGI_PRESENT_ALLOW_TEARING is missing from dxgi constants
This constant is missing from the dxgi.h header:

`#define DXGI_PRESENT_ALLOW_TEARING 0x00000200UL`


Discussion / hints:

Fix patch:
diff --git a/src/shared/dxgi.rs b/src/shared/dxgi.rs
index 6d1073908..df4b117c1 100644
--- a/src/shared/dxgi.rs
+++ b/src/shared/dxgi.rs
@@ -236,6 +236,7 @@ pub const DXGI_PRESENT_STEREO_PREFER_RIGHT: DWORD = 0x00000010;
 pub const DXGI_PRESENT_STEREO_TEMPORARY_MONO: DWORD = 0x00000020;
 pub const DXGI_PRESENT_RESTRICT_TO_OUTPUT: DWORD = 0x00000040;
 pub const DXGI_PRESENT_USE_DURATION: DWORD = 0x00000100;
+pub const DXGI_PRESENT_ALLOW_TEARING: DWORD = 0x00000200;
 pub const DXGI_ENUM_MODES_INTERLACED: UINT = 1;
 pub const DXGI_ENUM_MODES_SCALING: UINT = 2;
 RIDL!(#[uuid(0x310d36a0, 0xd2e7, 0x4c0a, 0xaa, 0x04, 0x6a, 0x9d, 0x23, 0xb8, 0x88, 0x6a)]


Test patch: