aboutsummaryrefslogtreecommitdiffstats
path: root/demo.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2020-04-26 18:06:29 +0200
committerMattias Andrée <maandree@kth.se>2020-04-26 18:06:29 +0200
commitb5f0b34189540cab87289091a4e5e32e88ad738b (patch)
tree98a164aeeb5c3427516c1e14bef4c1b876be4462 /demo.c
parentStore font count in context (diff)
downloadlibskrift-b5f0b34189540cab87289091a4e5e32e88ad738b.tar.gz
libskrift-b5f0b34189540cab87289091a4e5e32e88ad738b.tar.bz2
libskrift-b5f0b34189540cab87289091a4e5e32e88ad738b.tar.xz
Prepare for glyph caching support
Signed-off-by: Mattias Andrée <maandree@kth.se>
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 70708c7..9157a5c 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, 1, height, &rendering)) {
+ if (libskrift_create_context(&ctx, &font, 1, height, &rendering, NULL)) {
perror("libskrift_create_context");
return -1;
}