Skip image rendering in CLI rather than hard abort
parent
9020b83b9b
commit
3ed151bf90
|
@ -190,11 +190,11 @@ void SurfaceRenderer::DrawFaces(const SMesh &m, const std::vector<uint32_t> &fac
|
|||
void SurfaceRenderer::DrawPixmap(std::shared_ptr<const Pixmap> 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<const Pixmap> pm) {
|
||||
ssassert(false, "Not implemented");
|
||||
dbp("Not implemented");
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue