On 10 September 2018 at 13:01, Nikolay Sivov <nsivov at codeweavers.com> wrote: > @@ -433,6 +436,22 @@ HRESULT d2d_bitmap_create_shared(ID2D1DeviceContext *context, ID3D10Device *targ > } > > d = *desc; ... > + if (!desc) I don't think that works.