include: Add a few missing d3d9 constants.

Signed-off-by: Joshua Ashton <joshua@froggi.es>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Joshua Ashton 2019-01-24 20:21:01 +03:30 committed by Alexandre Julliard
parent d21691a26a
commit 9f258dab60
2 changed files with 5 additions and 0 deletions

View File

@ -65,8 +65,10 @@
#define D3DPRESENT_DONOTWAIT __MSABI_LONG(1)
#define D3DPRESENT_LINEAR_CONTENT __MSABI_LONG(2)
#define D3DPRESENT_BACK_BUFFERS_MAX __MSABI_LONG(3)
#define D3DPRESENT_BACK_BUFFERS_MAX_EX __MSABI_LONG(30)
#define D3DSGR_NO_CALIBRATION __MSABI_LONG(0x00000000)
#define D3DSGR_CALIBRATE __MSABI_LONG(0x00000001)
#define D3DCURSOR_IMMEDIATE_UPDATE __MSABI_LONG(0x00000001)
#define _FACD3D 0x876
#define MAKE_D3DHRESULT( code ) MAKE_HRESULT( 1, _FACD3D, code )

View File

@ -481,6 +481,9 @@ typedef enum _D3DSHADER_INSTRUCTION_OPCODE_TYPE {
#define D3DSP_DCL_USAGEINDEX_SHIFT 16
#define D3DSP_DCL_USAGEINDEX_MASK 0x000f0000
#define D3DSP_OPCODESPECIFICCONTROL_SHIFT 16
#define D3DSP_OPCODESPECIFICCONTROL_MASK 0x00ff0000
#define D3DSP_TEXTURETYPE_SHIFT 27
#define D3DSP_TEXTURETYPE_MASK 0x78000000