diff options
author | untir_l <87096069+untir-l@users.noreply.github.com> | 2022-02-19 05:40:09 +0000 |
---|---|---|
committer | untir-l <87096069+untir-l@users.noreply.github.com> | 2022-02-25 09:56:49 +0000 |
commit | 8a7dde79de6edee01571d2eb4a333d8256f4c342 (patch) | |
tree | 786b305ed2b1b0896c6b651d6585feeae7fc447a /lib/hitomezashi.c | |
parent | 581bc2dd768ca0af390b9abb41a5c89f1bca19e3 (diff) | |
download | hitomezashi-8a7dde79de6edee01571d2eb4a333d8256f4c342.tar hitomezashi-8a7dde79de6edee01571d2eb4a333d8256f4c342.tar.gz hitomezashi-8a7dde79de6edee01571d2eb4a333d8256f4c342.zip |
Improve docs, don't initialise SDL until arguments are already handled
Diffstat (limited to 'lib/hitomezashi.c')
-rw-r--r-- | lib/hitomezashi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/hitomezashi.c b/lib/hitomezashi.c index 09feb11..66f7440 100644 --- a/lib/hitomezashi.c +++ b/lib/hitomezashi.c @@ -71,6 +71,7 @@ enum Hitomezashi_Draw_Result hitomezashi_draw(struct Hitomezashi_State *state) { } } // Join up the lines to avoid leaving holes at the intersections + // To understand how this works, try commenting it out and see the output for (int x = state->gap; x < state->output_width; x += state->gap) { for (int y = state->gap; y < state->output_height; y += state->gap) { rect.x = x; |