Nov. 23, 2023
7:37 a.m.
Nikolay Sivov (@nsivov) commented about dlls/d2d1/tests/d2d1.c:
}
static ID2D1RenderTarget *create_render_target_desc(IDXGISurface *surface, - const D2D1_RENDER_TARGET_PROPERTIES *desc, BOOL d3d11) + const D2D1_RENDER_TARGET_PROPERTIES *desc, BOOL d3d11, BOOL multithreaded) { + D2D1_FACTORY_TYPE factory_type = multithreaded ? D2D1_FACTORY_TYPE_MULTI_THREADED : D2D1_FACTORY_TYPE_SINGLE_THREADED; We might as well pass D2D1_FACTORY_TYPE argument to begin with.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4452#note_53518