summaryrefslogtreecommitdiff
path: root/tests/conform/test-path.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/conform/test-path.c')
-rw-r--r--tests/conform/test-path.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/conform/test-path.c b/tests/conform/test-path.c
index 67f433ef..b5f604e3 100644
--- a/tests/conform/test-path.c
+++ b/tests/conform/test-path.c
@@ -76,7 +76,7 @@ paint (TestState *state)
/* Create a path filling just a quarter of a block. It will use two
rectangles so that we have a sub path in the path */
- path_a = cogl_path_new ();
+ path_a = cogl_path_new (test_ctx);
cogl_path_rectangle (path_a,
BLOCK_SIZE * 3 / 4, BLOCK_SIZE / 2,
BLOCK_SIZE, BLOCK_SIZE);
@@ -86,7 +86,7 @@ paint (TestState *state)
draw_path_at (path_a, 0, 0);
/* Create another path filling the whole block */
- path_b = cogl_path_new ();
+ path_b = cogl_path_new (test_ctx);
cogl_path_rectangle (path_b, 0, 0, BLOCK_SIZE, BLOCK_SIZE);
draw_path_at (path_b, 1, 0);
@@ -129,7 +129,7 @@ paint (TestState *state)
/* Draw a self-intersecting path. The part that intersects should be
inverted */
- path_a = cogl_path_new ();
+ path_a = cogl_path_new (test_ctx);
cogl_path_rectangle (path_a, 0, 0, BLOCK_SIZE, BLOCK_SIZE);
cogl_path_line_to (path_a, 0, BLOCK_SIZE / 2);
cogl_path_line_to (path_a, BLOCK_SIZE / 2, BLOCK_SIZE / 2);
@@ -140,7 +140,7 @@ paint (TestState *state)
/* Draw two sub paths. Where the paths intersect it should be
inverted */
- path_a = cogl_path_new ();
+ path_a = cogl_path_new (test_ctx);
cogl_path_rectangle (path_a, 0, 0, BLOCK_SIZE, BLOCK_SIZE);
cogl_path_rectangle (path_a,
BLOCK_SIZE / 2, BLOCK_SIZE / 2, BLOCK_SIZE, BLOCK_SIZE);
@@ -148,7 +148,7 @@ paint (TestState *state)
cogl_object_unref (path_a);
/* Draw a clockwise outer path */
- path_a = cogl_path_new ();
+ path_a = cogl_path_new (test_ctx);
cogl_path_move_to (path_a, 0, 0);
cogl_path_line_to (path_a, BLOCK_SIZE, 0);
cogl_path_line_to (path_a, BLOCK_SIZE, BLOCK_SIZE);