wined3d: Add/update the D3DPRESENTFLAG constants.

oldstable
Henri Verbeet 2008-09-22 14:52:42 +02:00 committed by Alexandre Julliard
parent d95ae08ad4
commit 66654cf057
3 changed files with 11 additions and 0 deletions

View File

@ -1131,6 +1131,8 @@ typedef struct _D3DPRESENT_PARAMETERS_ {
} D3DPRESENT_PARAMETERS;
#define D3DPRESENTFLAG_LOCKABLE_BACKBUFFER 0x00000001
typedef struct _D3DRANGE {
UINT Offset;
UINT Size;

View File

@ -201,6 +201,8 @@
#define D3DPRESENTFLAG_DISCARD_DEPTHSTENCIL 0x00000002 /* Discard Z buffer */
#define D3DPRESENTFLAG_DEVICECLIP 0x00000004 /* Clip the window blited into the client area 2k + xp only */
#define D3DPRESENTFLAG_VIDEO 0x00000010 /* backbuffer 'may' contain video data */
#define D3DPRESENTFLAG_NOAUTOROTATE 0x00000020 /* d3d9ex, ignore display rotation */
#define D3DPRESENTFLAG_UNPRUNEDMODE 0x00000040 /* d3d9ex, specify invalid display modes */
#define D3DPRESENT_BACK_BUFFERS_MAX 3L
#define D3DPRESENT_RATE_DEFAULT 0x00000000

View File

@ -888,6 +888,13 @@ typedef struct _WINED3DPRESENT_PARAMETERS {
UINT PresentationInterval;
} WINED3DPRESENT_PARAMETERS;
#define WINED3DPRESENTFLAG_LOCKABLE_BACKBUFFER 0x00000001
#define WINED3DPRESENTFLAG_DISCARD_DEPTHSTENCIL 0x00000002
#define WINED3DPRESENTFLAG_DEVICECLIP 0x00000004
#define WINED3DPRESENTFLAG_VIDEO 0x00000010
#define WINED3DPRESENTFLAG_NOAUTOROTATE 0x00000020
#define WINED3DPRESENTFLAG_UNPRUNEDMODE 0x00000040
typedef enum _WINED3DRESOURCETYPE {
WINED3DRTYPE_SURFACE = 1,
WINED3DRTYPE_VOLUME = 2,