aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2014-09-30 23:18:31 +0200
committerThomas White <taw@bitwiz.org.uk>2014-09-30 23:18:31 +0200
commite621e284f7fe1208ad1e9556eb3c8e2598aabf55 (patch)
tree881b70d192e630c68868f2f874b24ffc4f53999d /tests
parent2931d57e2bb25d44e6b70e18935fe1530b8dd4a5 (diff)
WIP
Diffstat (limited to 'tests')
-rw-r--r--tests/render_test.c2
-rw-r--r--tests/render_test_sc1.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/render_test.c b/tests/render_test.c
index eab6108..7d43123 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_set_source_rgb(cr, 0.9, 0.9, 0.9);
cairo_fill(cr);
- surface = render_slide(s, w, w, h, NULL, ISZ_EDITOR, 1);
+ surface = render_slide(s, w, h, w, h, NULL, ISZ_EDITOR, 1);
cairo_rectangle(cr, 0.0, 0.0, w, h);
cairo_set_source_surface(cr, surface, 0.0, 0.0);
cairo_fill(cr);
diff --git a/tests/render_test_sc1.c b/tests/render_test_sc1.c
index 590f21e..7db7970 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_set_source_rgb(cr, 0.9, 0.9, 0.9);
cairo_fill(cr);
- surface = render_slide(s, w, w, h, NULL, ISZ_EDITOR, 1);
+ surface = render_slide(s, w, h, w, h, NULL, ISZ_EDITOR, 1);
cairo_rectangle(cr, 0.0, 0.0, w, h);
cairo_set_source_surface(cr, surface, 0.0, 0.0);
cairo_fill(cr);