mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-04 16:24:29 +01:00
remove unneeded definitions
This commit is contained in:
parent
8508633ba3
commit
6b779206d9
@ -40,38 +40,6 @@
|
||||
|
||||
// Missed definitions in Wine/MinGW.
|
||||
|
||||
#ifndef D3DPRESENT_BACK_BUFFERS_MAX_EX
|
||||
#define D3DPRESENT_BACK_BUFFERS_MAX_EX 30
|
||||
#endif
|
||||
|
||||
#ifndef D3DSI_OPCODE_MASK
|
||||
#define D3DSI_OPCODE_MASK 0x0000FFFF
|
||||
#endif
|
||||
|
||||
#ifndef D3DSP_TEXTURETYPE_MASK
|
||||
#define D3DSP_TEXTURETYPE_MASK 0x78000000
|
||||
#endif
|
||||
|
||||
#ifndef D3DUSAGE_AUTOGENMIPMAP
|
||||
#define D3DUSAGE_AUTOGENMIPMAP 0x00000400L
|
||||
#endif
|
||||
|
||||
#ifndef D3DSP_DCL_USAGE_MASK
|
||||
#define D3DSP_DCL_USAGE_MASK 0x0000000f
|
||||
#endif
|
||||
|
||||
#ifndef D3DSP_OPCODESPECIFICCONTROL_MASK
|
||||
#define D3DSP_OPCODESPECIFICCONTROL_MASK 0x00ff0000
|
||||
#endif
|
||||
|
||||
#ifndef D3DSP_OPCODESPECIFICCONTROL_SHIFT
|
||||
#define D3DSP_OPCODESPECIFICCONTROL_SHIFT 16
|
||||
#endif
|
||||
|
||||
#ifndef D3DCURSOR_IMMEDIATE_UPDATE
|
||||
#define D3DCURSOR_IMMEDIATE_UPDATE 0x00000001L
|
||||
#endif
|
||||
|
||||
#ifndef D3DPRESENT_FORCEIMMEDIATE
|
||||
#define D3DPRESENT_FORCEIMMEDIATE 0x00000100L
|
||||
#endif
|
||||
@ -82,10 +50,6 @@ typedef struct _D3DDEVINFO_RESOURCEMANAGER
|
||||
{
|
||||
char dummy;
|
||||
} D3DDEVINFO_RESOURCEMANAGER, * LPD3DDEVINFO_RESOURCEMANAGER;
|
||||
|
||||
#ifndef __WINE__
|
||||
extern "C" WINUSERAPI WINBOOL WINAPI SetProcessDPIAware(VOID);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// This is the managed pool on D3D9Ex, it's just hidden!
|
||||
|
@ -28,20 +28,3 @@
|
||||
#include "../util/util_string.h"
|
||||
|
||||
#include <dxgi1_6.h>
|
||||
|
||||
// For some reason, these are not exposed
|
||||
#ifndef DXGI_RESOURCE_PRIORITY_NORMAL
|
||||
#define DXGI_RESOURCE_PRIORITY_MINIMUM (0x28000000)
|
||||
#define DXGI_RESOURCE_PRIORITY_LOW (0x50000000)
|
||||
#define DXGI_RESOURCE_PRIORITY_NORMAL (0x78000000)
|
||||
#define DXGI_RESOURCE_PRIORITY_HIGH (0xa0000000)
|
||||
#define DXGI_RESOURCE_PRIORITY_MAXIMUM (0xc8000000)
|
||||
#endif
|
||||
|
||||
#ifndef DXGI_CPU_ACCESS_NONE
|
||||
#define DXGI_CPU_ACCESS_NONE (0)
|
||||
#define DXGI_CPU_ACCESS_DYNAMIC (1)
|
||||
#define DXGI_CPU_ACCESS_READ_WRITE (2)
|
||||
#define DXGI_CPU_ACCESS_SCRATCH (3)
|
||||
#define DXGI_CPU_ACCESS_FIELD (0xf)
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user