make old windows xp workaround optional
This commit is contained in:
parent
93e81ddc1c
commit
6efc112c39
9 changed files with 97 additions and 72 deletions
|
@ -4,6 +4,7 @@
|
|||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include "IDirectDrawPalette.h"
|
||||
#include "IDirectDrawClipper.h"
|
||||
#include "ddraw.h"
|
||||
|
||||
|
||||
|
@ -22,7 +23,7 @@ typedef struct IDirectDrawSurfaceImpl
|
|||
DWORD flags;
|
||||
DWORD caps;
|
||||
|
||||
IDirectDrawPaletteImpl *palette;
|
||||
IDirectDrawPaletteImpl* palette;
|
||||
|
||||
void *surface;
|
||||
DWORD l_pitch;
|
||||
|
@ -35,7 +36,8 @@ typedef struct IDirectDrawSurfaceImpl
|
|||
DWORD last_flip_tick;
|
||||
DWORD last_blt_tick;
|
||||
|
||||
struct IDirectDrawSurfaceImpl *backbuffer;
|
||||
struct IDirectDrawSurfaceImpl* backbuffer;
|
||||
struct IDirectDrawClipperImpl* clipper;
|
||||
|
||||
} IDirectDrawSurfaceImpl;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue