summaryrefslogtreecommitdiff
path: root/src/text.h
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-02-12 12:44:44 +0100
committerFabrice <fabrice@schaub-dev.xyz>2026-02-12 12:44:44 +0100
commit716cccb220a9e2337320ac591d575a2f68b4ed2c (patch)
tree5d5151ff0c1dda0b847e1e0bf6ab8d6f2ac61c2c /src/text.h
parentc8e3a40dfcc09a051a6bafd06c7591b82bf17710 (diff)
ohj
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/text.h b/src/text.h
index 30a8893..9ea7d0d 100644
--- a/src/text.h
+++ b/src/text.h
@@ -3,7 +3,6 @@
#include "cglm/types.h"
#include "freetype/freetype.h"
#include "hash.h"
-#include "rendering.h"
#include "utils.h"
typedef u32 codepoint_t;
@@ -55,9 +54,8 @@ struct font_s {
enum font_error_e wayc_font_init(struct font_s* font,
struct font_context_s* ctx, u32 fsize,
const char* path);
-enum font_error_e wayc_font_lookup(struct font_s* font, struct atlas_s* atlas,
- struct atlas_packer_s* packer,
- codepoint_t codepoint, struct glyph_s* out);
+enum font_error_e wayc_font_lookup(struct font_s* font, codepoint_t codepoint,
+ struct glyph_s* out);
void wayc_font_deinit(struct font_s* font);
enum text_error_e {