Module: wine Branch: master Commit: 5cea0f122c0de10bad781286568b9e38c5c5ac94 URL: http://source.winehq.org/git/wine.git/?a=commit;h=5cea0f122c0de10bad78128656...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Sun Dec 9 21:22:05 2012 +0100
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 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;