https://bugs.winehq.org/show_bug.cgi?id=53915
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- This looks like an application bug:
--- 0024:trace:d2d:d2d_factory_CreateDrawingStateBlock iface 036F1B50, desc 00000000, text_rendering_params 00000000, state_block 11BE6AB8. 0024:trace:d2d:d2d_factory_AddRef 036F1B50 increasing refcount to 182. 0024:trace:d2d:d2d_factory_CreateDrawingStateBlock Created state block 0BCB3D30. 0024:trace:d2d:d2d_device_context_SaveDrawingState iface 0BCB34B0, state_block 11BE6AB8. ---
Instead of passing interface pointer to SaveDrawingState(), it's passing same out pointer.
Removing assertion helps.