diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/render_test.c | 2 | ||||
-rw-r--r-- | tests/render_test_sc1.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/render_test.c b/tests/render_test.c index 2bf856d..faaf1c4 100644 --- a/tests/render_test.c +++ b/tests/render_test.c @@ -60,7 +60,7 @@ static gboolean draw_sig(GtkWidget *da, cairo_t *cr, gpointer data) cairo_fill(cr); if ( s->rendered_edit != NULL ) cairo_surface_destroy(s->rendered_edit); - s->rendered_edit = render_slide(s, w, w, h, NULL, ISZ_EDITOR); + s->rendered_edit = render_slide(s, w, w, h, NULL, ISZ_EDITOR, 1); cairo_rectangle(cr, 0.0, 0.0, w, h); cairo_set_source_surface(cr, s->rendered_edit, 0.0, 0.0); cairo_fill(cr); diff --git a/tests/render_test_sc1.c b/tests/render_test_sc1.c index 4cb0c91..bf60241 100644 --- a/tests/render_test_sc1.c +++ b/tests/render_test_sc1.c @@ -58,7 +58,7 @@ static gboolean draw_sig(GtkWidget *da, cairo_t *cr, gpointer data) cairo_fill(cr); if ( s->rendered_edit != NULL ) cairo_surface_destroy(s->rendered_edit); - s->rendered_edit = render_slide(s, w, w, h, NULL, ISZ_EDITOR); + s->rendered_edit = render_slide(s, w, w, h, NULL, ISZ_EDITOR, 1); cairo_rectangle(cr, 0.0, 0.0, w, h); cairo_set_source_surface(cr, s->rendered_edit, 0.0, 0.0); cairo_fill(cr); |