From e55430203e2cc47e70dffb62b7cde0788b937b89 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Wed, 12 Jan 2000 04:58:53 +0000 Subject: [PATCH] Fixed macro definition of IDirectDrawSurface_Restore. Added defines for Ddraw's WaitForVerticalDisplay(). --- include/ddraw.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/ddraw.h b/include/ddraw.h index 79207464b97..89d216b839f 100644 --- a/include/ddraw.h +++ b/include/ddraw.h @@ -650,6 +650,11 @@ typedef struct _DDPIXELFORMAT { #define DDEDM_REFRESHRATES 0x00000001 #define DDEDM_STANDARDVGAMODES 0x00000002 +/* WaitForVerticalDisplay flags */ + +#define DDWAITVB_BLOCKBEGIN 0x00000001 +#define DDWAITVB_BLOCKBEGINEVENT 0x00000002 +#define DDWAITVB_BLOCKEND 0x00000004 typedef struct _DDSURFACEDESC { @@ -1145,7 +1150,7 @@ ICOM_DEFINE(IDirectDrawSurface,IUnknown) #define IDirectDrawSurface_IsLost(p) ICOM_CALL (IsLost,p) #define IDirectDrawSurface_Lock(p,a,b,c,d) ICOM_CALL4(Lock,p,a,b,c,d) #define IDirectDrawSurface_ReleaseDC(p,a) ICOM_CALL1(ReleaseDC,p,a) -#define IDirectDrawSurface_Restore(p,a,b) ICOM_CALL (Restore,p,a,b) +#define IDirectDrawSurface_Restore(p) ICOM_CALL (Restore,p) #define IDirectDrawSurface_SetClipper(p,a,b) ICOM_CALL1(SetClipper,p,a,b) #define IDirectDrawSurface_SetColorKey(p,a,b) ICOM_CALL2(SetColorKey,p,a,b) #define IDirectDrawSurface_SetOverlayPosition(p,a,b) ICOM_CALL2(SetOverlayPosition,p,a,b)