Skip to content

Commit

Permalink
update readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
mobius3 committed May 26, 2020
1 parent 2119c01 commit 6e107cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fc_cook(font);

const char hello[] = "Hello, world!";
fc_character_mapping output[32];
int count = fc_render(font, text, strlen(hello), output);
int count = fc_render(font, text, strlen(hello), &output);
for (int i = 0; i < count; i++) {
render(texture, output[i].source, output[i].target
}
Expand Down

0 comments on commit 6e107cb

Please sign in to comment.