diff options
Diffstat (limited to 'text.h')
-rw-r--r-- | text.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -44,6 +44,12 @@ typedef struct { /// index of previous glyph rendered, or 0 if this is the first int prev_glyph; + /// added to x for rendering + /// this exists for complicated reasons + /// basically we want a way of consistently getting the size + /// of text without error from floating point imprecision + float x_render_offset; + /// used for forwards-compatibility char _reserved[64]; } TextRenderState; |