diff options
| author | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-12 22:20:50 +0100 |
|---|---|---|
| committer | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-12 22:20:50 +0100 |
| commit | 5630b919ea8cd4432fc3a9ce722e37a9e2740b40 (patch) | |
| tree | a5b32b7c91a2f58a36486cf5293c326eb0168374 /src/text.cc | |
| parent | 8c290571c921098b22d8280bfde784e588eeb69d (diff) | |
add detail error
Diffstat (limited to 'src/text.cc')
| -rw-r--r-- | src/text.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text.cc b/src/text.cc index 6753061..e6ce175 100644 --- a/src/text.cc +++ b/src/text.cc @@ -129,7 +129,7 @@ enum font_error_e wayc_font_init(struct font_s* font, struct atlas_s atlas; enum atlas_error_e aterr = wayc_atlas_init(&atlas, atlas_width, atlas_height, SG_PIXELFORMAT_R8); - if (aterr) return FONT_ERROR_LOAD_FACE; + if (aterr) return FONT_ERROR_ATLAS_FAILED; font->face = face; font->font_size = font_size; |
