1 Oct
2025
1 Oct
'25
10:12 a.m.
Nikolay Sivov (@nsivov) commented about dlls/d2d1/factory.c:
return hr; }
+HRESULT WINAPI D2D1CreateDeviceContext(IDXGISurface *dxgi_surface, + const D2D1_CREATION_PROPERTIES *properties, ID2D1DeviceContext **context) +{ + IDXGIDevice *dxgi_device; + ID2D1Device *device; + HRESULT hr; + + TRACE("dxgi_surface %p, properties %p, context %p.\n", dxgi_surface, properties, context); + + if (FAILED(hr = IDXGISurface_GetDevice(dxgi_surface, &IID_ID3D11Device, (void **)&dxgi_device)))
IID looks wrong here. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9084#note_117325