summaryrefslogtreecommitdiff
path: root/src/text.h
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-02-11 21:44:49 +0100
committerFabrice <fabrice@schaub-dev.xyz>2026-02-11 21:44:49 +0100
commit952dc19e0eeec2b0ba695970ac3f5a2997e39c77 (patch)
tree10a484496fc9c8acf9b389c9d9a78c6637d803c8 /src/text.h
parent29805da671f7dd13f9e1b25800ac6a846391d355 (diff)
working on atlas
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/text.h b/src/text.h
index e507221..a3ed9d1 100644
--- a/src/text.h
+++ b/src/text.h
@@ -2,6 +2,7 @@
#include "freetype/freetype.h"
#include "hash.h"
+#include "rendering.h"
#include "utils.h"
typedef u32 codepoint_t;
@@ -35,6 +36,6 @@ struct font_s {
enum font_error_e wayc_font_init(struct font_s* font,
struct font_context_s* ctx, const char* path);
-enum font_error_e wayc_font_lookup(struct font_s* font, codepoint_t codepoint,
- struct glyph_s* out);
+enum font_error_e wayc_font_lookup(struct font_s* font, struct atlas_s* atlas,
+ codepoint_t codepoint, struct glyph_s* out);
void wayc_font_deinit(struct font_s* font);