ddrawex: Forward to the wrapped surface instead of recursing forever.

This commit is contained in:
Michael Stefaniuc 2012-08-17 16:15:15 +02:00 committed by Alexandre Julliard
parent 9aba74a8f3
commit 8ad17a79f0
1 changed files with 1 additions and 1 deletions

View File

@ -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);