Commit 8ad17a79 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

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

parent 9aba74a8
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment