diff --git a/src/render/render2d.cpp b/src/render/render2d.cpp index 710e795d..fd948e80 100644 --- a/src/render/render2d.cpp +++ b/src/render/render2d.cpp @@ -190,11 +190,11 @@ void SurfaceRenderer::DrawFaces(const SMesh &m, const std::vector &fac void SurfaceRenderer::DrawPixmap(std::shared_ptr pm, const Vector &o, const Vector &u, const Vector &v, const Point2d &ta, const Point2d &tb, hFill hcf) { - ssassert(false, "Not implemented"); + dbp("Not implemented"); } void SurfaceRenderer::InvalidatePixmap(std::shared_ptr pm) { - ssassert(false, "Not implemented"); + dbp("Not implemented"); } //----------------------------------------------------------------------------- diff --git a/test/request/image/linked.png b/test/request/image/linked.png new file mode 100644 index 00000000..8667e341 Binary files /dev/null and b/test/request/image/linked.png differ diff --git a/test/request/image/normal.png b/test/request/image/normal.png new file mode 100644 index 00000000..a44f72d7 Binary files /dev/null and b/test/request/image/normal.png differ diff --git a/test/request/image/test.cpp b/test/request/image/test.cpp index da0954e0..a9507bee 100644 --- a/test/request/image/test.cpp +++ b/test/request/image/test.cpp @@ -2,13 +2,12 @@ TEST_CASE(normal_roundtrip) { CHECK_LOAD("normal.slvs"); - // Can't render images through cairo for now. - // CHECK_RENDER("normal.png"); + CHECK_RENDER("normal.png"); CHECK_SAVE("normal.slvs"); } TEST_CASE(linked_roundtrip) { CHECK_LOAD("linked.slvs"); - // CHECK_RENDER("linked.png"); + CHECK_RENDER("linked.png"); CHECK_SAVE("linked.slvs"); }