mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-23 09:54:39 +08:00
Fix some defines in d3d9 headers
* rename D3DENUM_NO_WHQL_LEVEL to D3DENUM_WHQL_LEVEL * remove D3DCAPS2_NO2DDURING3DSCENE * remove D3DCAPS2_CANRENDERWINDOWED Removed defines seems to have been copied from d3d8.h and according to public docs do not exist in d3d9. Signed-off-by: Rafał Harabień <rafalh92@outlook.com> Signed-off-by: Liu Hao <lh_mouse@126.com>
This commit is contained in:
parent
0e2cd03cdf
commit
f45f1d3552
@ -62,7 +62,7 @@
|
||||
*/
|
||||
#define D3D_SDK_VERSION 32
|
||||
#define D3DADAPTER_DEFAULT 0
|
||||
#define D3DENUM_NO_WHQL_LEVEL __MSABI_LONG(0x00000002)
|
||||
#define D3DENUM_WHQL_LEVEL __MSABI_LONG(0x00000002)
|
||||
#define D3DPRESENT_DONOTWAIT __MSABI_LONG(1)
|
||||
#define D3DPRESENT_LINEAR_CONTENT __MSABI_LONG(2)
|
||||
#define D3DPRESENT_BACK_BUFFERS_MAX __MSABI_LONG(3)
|
||||
|
@ -258,9 +258,7 @@
|
||||
#define D3DCAPS3_DXVAHD_LIMITED __MSABI_LONG(0x00000800)
|
||||
#define D3DCAPS3_RESERVED __MSABI_LONG(0x8000001F)
|
||||
|
||||
#define D3DCAPS2_NO2DDURING3DSCENE __MSABI_LONG(0x00000002)
|
||||
#define D3DCAPS2_FULLSCREENGAMMA __MSABI_LONG(0x00020000)
|
||||
#define D3DCAPS2_CANRENDERWINDOWED __MSABI_LONG(0x00080000)
|
||||
#define D3DCAPS2_CANCALIBRATEGAMMA __MSABI_LONG(0x00100000)
|
||||
#define D3DCAPS2_RESERVED __MSABI_LONG(0x02000000)
|
||||
#define D3DCAPS2_CANMANAGERESOURCE __MSABI_LONG(0x10000000)
|
||||
|
Loading…
Reference in New Issue
Block a user