From 5cea0f122c0de10bad781286568b9e38c5c5ac94 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Sun, 9 Dec 2012 21:22:05 +0100 Subject: [PATCH] ddraw: Avoid LPDDOVERLAYFX. --- 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 119e4017e12..5bd2bd024a1 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 016e3eaea29..761d9705081 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;