From 29022c49df47e0bafbebfb350bdbfa422c52f693 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20D=C3=B6singer?= Date: Thu, 13 Apr 2006 18:35:59 +0200 Subject: [PATCH] wined3d: Add macros for (Un)Init3D and Flip. --- include/wine/wined3d_interface.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/wine/wined3d_interface.h b/include/wine/wined3d_interface.h index c1631048d22..385ca4c02e2 100644 --- a/include/wine/wined3d_interface.h +++ b/include/wine/wined3d_interface.h @@ -502,6 +502,8 @@ DECLARE_INTERFACE_(IWineD3DDevice,IWineD3DBase) #define IWineD3DDevice_CreateVertexDeclaration(p,b,c,d) (p)->lpVtbl->CreateVertexDeclaration(p,b,c,d) #define IWineD3DDevice_CreateVertexShader(p,a,b,c,d) (p)->lpVtbl->CreateVertexShader(p,a,b,c,d) #define IWineD3DDevice_CreatePixelShader(p,a,b,c) (p)->lpVtbl->CreatePixelShader(p,a,b,c) +#define IWineD3DDevice_Init3D(p, a, b) (p)->lpVtbl->Init3D(p, a, b) +#define IWineD3DDevice_Uninit3D(p) (p)->lpVtbl->Uninit3D(p) #define IWineD3DDevice_EvictManagedResources(p) (p)->lpVtbl->EvictManagedResources(p) #define IWineD3DDevice_GetAvailableTextureMem(p) (p)->lpVtbl->GetAvailableTextureMem(p) #define IWineD3DDevice_GetBackBuffer(p,a,b,c,d) (p)->lpVtbl->GetBackBuffer(p,a,b,c,d) @@ -1139,6 +1141,7 @@ DECLARE_INTERFACE_(IWineD3DSurface,IWineD3DResource) #define IWineD3DSurface_UnlockRect(p) (p)->lpVtbl->UnlockRect(p) #define IWineD3DSurface_GetDC(p,a) (p)->lpVtbl->GetDC(p,a) #define IWineD3DSurface_ReleaseDC(p,a) (p)->lpVtbl->ReleaseDC(p,a) +#define IWineD3DSurface_Flip(p,a,b) (p)->lpVtbl->Flip(p,a,b) /*** IWineD3DSurface (Internal, no d3d mapping) methods ***/ #define IWineD3DSurface_CleanDirtyRect(p) (p)->lpVtbl->CleanDirtyRect(p) #define IWineD3DSurface_AddDirtyRect(p,a) (p)->lpVtbl->AddDirtyRect(p,a)