https://bugs.winehq.org/show_bug.cgi?id=51139
Bernhard besentv@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |besentv@gmail.com
--- Comment #22 from Bernhard besentv@gmail.com --- Following code snipped also causes a hang inside the d2d_geometry_sink_Close function:
ID2D1Factory *d2d1_factory; D2D1CreateFactory(D2D1_FACTORY_TYPE_SINGLE_THREADED, &d2d1_factory);
printf("Created D2D1 Factory: %p\n", d2d1_factory);
ID2D1PathGeometry* pathGeometry; ID2D1GeometrySink* geometrySink; d2d1_factory->CreatePathGeometry(&pathGeometry); pathGeometry->Open(&geometrySink);
geometrySink->BeginFigure({ 2.73000002e-01, 5.00000000e-01 }, D2D1_FIGURE_BEGIN_FILLED); geometrySink->AddQuadraticBezier({ {3.40999991e-01, 6.52000010e-01}, { 3.95000011e-01, 6.11999989e-01 } }); geometrySink->AddQuadraticBezier({ {4.49000001e-01, 5.72000027e-01}, {4.49000001e-01, 4.97999996e-01} }); geometrySink->EndFigure(D2D1_FIGURE_END_OPEN);
geometrySink->BeginFigure({ 2.56000012e-01, 5.88000000e-01 }, D2D1_FIGURE_BEGIN_FILLED); geometrySink->AddQuadraticBezier({ {3.07999998e-01, 5.88000000e-01}, {2.56000012e-01, 5.88000000e-01} }); geometrySink->EndFigure(D2D1_FIGURE_END_OPEN);
HRESULT hr = geometrySink->Close();
printf("GeometrySink closed with HRESULT: %x\n", hr);
geometrySink->Release(); pathGeometry->Release(); d2d1_factory->Release();