make old windows xp workaround optional

This commit is contained in:
FunkyFr3sh 2021-05-08 23:42:29 +02:00
parent 93e81ddc1c
commit 6efc112c39
9 changed files with 97 additions and 72 deletions

View file

@ -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;