From d10134d6c74cb9eef83956a8ec5ce4dce69b5ee0 Mon Sep 17 00:00:00 2001 From: Fabrice Date: Thu, 12 Feb 2026 21:38:39 +0100 Subject: add blending --- src/text.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/text.h') diff --git a/src/text.h b/src/text.h index efaad8f..2e768ee 100644 --- a/src/text.h +++ b/src/text.h @@ -1,9 +1,15 @@ #pragma once +#include "cglm/types.h" #include "freetype/freetype.h" #include "sokol_gfx.h" #include "utils.h" +struct text_vertex_s { + vec2 pos; + vec2 uv; +}; + enum font_context_error_e : u8 { FONT_CONTEXT_ERROR_NONE = 0, FONT_CONTEXT_ERROR_LOAD_LIBRARY, -- cgit v1.2.3