[PATCH 1/2] d2d1: Return device context pointer for render targets.

Vlad Bespalov vlad.bespalov at jetstreamsoft.com
Mon Sep 10 09:02:35 CDT 2018


>
>
>          return S_OK;
>      }
> -    else if (IsEqualGUID(iid, &IID_ID2D1GdiInteropRenderTarget))
> +    else if (IsEqualGUID(iid, &IID_ID2D1GdiInteropRenderTarget)
> +            || IsEqualGUID(iid, &IID_ID2D1GdiInteropRenderTarget))
>          return
> ID2D1RenderTarget_QueryInterface(render_target->dxgi_target, iid, out);
>
>
Something feels wrong here - did you mean to have 2nd check against
&IID_ID2D1DeviceContext ?

Thanks,
Vlad.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20180910/514fff91/attachment.html>


More information about the wine-devel mailing list