Module: wine Branch: master Commit: 8ad17a79f0e669b69b0285eb6620782f3ab01f0d URL: http://source.winehq.org/git/wine.git/?a=commit;h=8ad17a79f0e669b69b0285eb66...
Author: Michael Stefaniuc mstefani@redhat.de Date: Fri Aug 17 16:15:15 2012 +0200
ddrawex: Forward to the wrapped surface instead of recursing forever.
---
dlls/ddrawex/surface.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ddrawex/surface.c b/dlls/ddrawex/surface.c index ed9e374..b25639a 100644 --- a/dlls/ddrawex/surface.c +++ b/dlls/ddrawex/surface.c @@ -373,7 +373,7 @@ static HRESULT WINAPI IDirectDrawSurface4Impl_GetAttachedSurface(IDirectDrawSurf HRESULT hr; TRACE("(%p)->(%p,%p)\n", This, Caps, Surface);
- hr = IDirectDrawSurface4_GetAttachedSurface(dds4_from_impl(This), Caps, &inner); + hr = IDirectDrawSurface4_GetAttachedSurface(This->parent, Caps, &inner); if(SUCCEEDED(hr)) { *Surface = dds_get_outer(inner);