summaryrefslogtreecommitdiff
path: root/src/text.h
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-02-13 07:13:45 +0100
committerFabrice <fabrice@schaub-dev.xyz>2026-02-13 07:13:45 +0100
commit1d5b0658334c6f63b99f1463d50b10cd897d664a (patch)
tree50ccbc0024d0f0450f2b862063ae2ae4f99280c8 /src/text.h
parentff42eaa149231f3ecad178ad786eac294def333f (diff)
dont need no more
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,