summaryrefslogtreecommitdiff
path: root/src/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/text.h b/src/text.h
index c93f968..a823bd3 100644
--- a/src/text.h
+++ b/src/text.h
@@ -38,17 +38,6 @@ struct glyph_s {
f32 advance;
};
-static inline void glyph_print(struct glyph_s* glyph) {
- u32 uv0x = WAYC_X(glyph->uv0);
- u32 uv0y = WAYC_Y(glyph->uv0);
- u32 uv1x = WAYC_X(glyph->uv1);
- u32 uv1y = WAYC_Y(glyph->uv1);
- fprintf(stderr,
- "uv0: (%u, %u), uv1: (%u, %u), bearing: (%f, %f), advance: %f\n",
- uv0x, uv0y, uv1x, uv1y, WAYC_X(glyph->bearing),
- WAYC_Y(glyph->bearing), glyph->advance);
-}
-
enum font_error_e : u8 {
FONT_ERROR_NONE = 0,
FONT_ERROR_LOAD_FACE,