Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51139 Signed-off-by: Stefan Brüns stefan.bruens@rwth-aachen.de --- dlls/d2d1/tests/d2d1.c | 10 ---------- 1 file changed, 10 deletions(-)
diff --git a/dlls/d2d1/tests/d2d1.c b/dlls/d2d1/tests/d2d1.c index 27d78a01ff0..e888aafbb89 100644 --- a/dlls/d2d1/tests/d2d1.c +++ b/dlls/d2d1/tests/d2d1.c @@ -3898,7 +3898,6 @@ static void test_path_geometry(BOOL d3d11) hr = ID2D1PathGeometry_Open(geometry, &sink); ok(SUCCEEDED(hr), "Failed to open geometry sink, hr %#x.\n", hr);
-#if 0 set_point(&point, 20.0f, 80.0f); ID2D1GeometrySink_BeginFigure(sink, point, D2D1_FIGURE_BEGIN_FILLED); line_to(sink, 40.0f, 100.0f); @@ -3910,7 +3909,6 @@ static void test_path_geometry(BOOL d3d11) line_to(sink, 60.0f, 40.0f); quadratic_to(sink, 95.0f, 40.0f, 80.0f, 20.0f); ID2D1GeometrySink_EndFigure(sink, D2D1_FIGURE_END_OPEN); -#endif
set_point(&point, 120.0f, 180.0f); ID2D1GeometrySink_BeginFigure(sink, point, D2D1_FIGURE_BEGIN_FILLED); @@ -3931,11 +3929,7 @@ static void test_path_geometry(BOOL d3d11) set_rect(&rect, 0.0f, 0.0f, 0.0f, 0.0f); hr = ID2D1PathGeometry_GetBounds(geometry, NULL, &rect); ok(SUCCEEDED(hr), "Failed to get geometry bounds, hr %#x.\n", hr); -#if 0 match = compare_rect(&rect, 20.0f, 20.0f, 180.0f, 180.0f, 0); -#else - match = compare_rect(&rect, 115.5f, 110.0f, 180.0f, 180.0f, 0); -#endif ok(match, "Got unexpected rectangle {%.8e, %.8e, %.8e, %.8e}.\n", rect.left, rect.top, rect.right, rect.bottom);
@@ -3944,11 +3938,7 @@ static void test_path_geometry(BOOL d3d11) NULL, 0.0f, &simplify_sink.ID2D1SimplifiedGeometrySink_iface); ok(SUCCEEDED(hr), "Failed to simplify geometry, hr %#x.\n", hr); trace("SIMPLIFY done\n"); -#if 0 geometry_sink_check(&simplify_sink, D2D1_FILL_MODE_ALTERNATE, 4, &expected_figures[29], 1); -#else - geometry_sink_check(&simplify_sink, D2D1_FILL_MODE_ALTERNATE, 2, &expected_figures[31], 1); -#endif geometry_sink_cleanup(&simplify_sink);
ID2D1PathGeometry_Release(geometry);