diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-11-25 11:43:13 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-11-25 11:43:13 -0500 |
commit | b58e9a3faa4e35ff6e872e28c7051fa19e2b11ad (patch) | |
tree | ba0ab494e36a98cbaa92b99ad1949256e4a98279 /buffer.c | |
parent | c2f91a659c126d1fd5ee951bdf58540d9d39fd47 (diff) |
icon
Diffstat (limited to 'buffer.c')
-rw-r--r-- | buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -125,8 +125,8 @@ void text_buffer_render(TextBuffer *buffer, Font *font, float box_x, float box_y text_chars_begin(font); TextRenderState text_state = { .x = box_x, .y = box_y, - .edge_right = box_x+box_w, - .edge_bottom = box_y+box_h + .min_x = box_x, .min_y = box_y, + .max_x = box_x+box_w, .max_y = box_y+box_h }; for (uint block_idx = 0; block_idx < nblocks; ++block_idx) { |