[PATCH 3/5] ddraw: Avoid LPDDOVERLAYFX.
Henri Verbeet
hverbeet at codeweavers.com
Sun Dec 9 14:22:05 CST 2012
---
dlls/ddrawex/surface.c | 4 ++--
include/ddrawi.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/ddrawex/surface.c b/dlls/ddrawex/surface.c
index 119e401..5bd2bd0 100644
--- a/dlls/ddrawex/surface.c
+++ b/dlls/ddrawex/surface.c
@@ -794,8 +794,8 @@ static HRESULT WINAPI IDirectDrawSurface4Impl_UpdateOverlay(IDirectDrawSurface4
}
static HRESULT WINAPI IDirectDrawSurface3Impl_UpdateOverlay(IDirectDrawSurface3 *iface,
- LPRECT SrcRect, IDirectDrawSurface3 *DstSurface, LPRECT DstRect, DWORD Flags,
- LPDDOVERLAYFX FX)
+ RECT *SrcRect, IDirectDrawSurface3 *DstSurface, RECT *DstRect, DWORD Flags,
+ DDOVERLAYFX *FX)
{
IDirectDrawSurfaceImpl *This = impl_from_IDirectDrawSurface3(iface);
IDirectDrawSurfaceImpl *Dst = unsafe_impl_from_IDirectDrawSurface3(DstSurface);
diff --git a/include/ddrawi.h b/include/ddrawi.h
index 016e3ea..761d970 100644
--- a/include/ddrawi.h
+++ b/include/ddrawi.h
@@ -936,7 +936,7 @@ typedef struct _DDRAWI_DDRAWSURFACE_MORE {
DWORD dwOverlayFlags;
VOID *rgjunc;
LPDDRAWI_DDVIDEOPORT_LCL lpVideoPort;
- LPDDOVERLAYFX lpddOverlayFX;
+ DDOVERLAYFX *lpddOverlayFX;
DDSCAPSEX ddsCapsEx;
DWORD dwTextureStage;
LPVOID lpDDRAWReserved;
--
1.7.8.6
More information about the wine-patches
mailing list