aboutsummaryrefslogtreecommitdiffstats
path: root/demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'demo.c')
-rw-r--r--demo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo.c b/demo.c
index 79cf920..70708c7 100644
--- a/demo.c
+++ b/demo.c
@@ -25,7 +25,7 @@ main(void)
return -1;
}
height = libskrift_points_to_pixels(72, &rendering);
- if (libskrift_create_context(&ctx, font, &rendering, height)) {
+ if (libskrift_create_context(&ctx, &font, 1, height, &rendering)) {
perror("libskrift_create_context");
return -1;
}