aboutsummaryrefslogtreecommitdiff
path: root/state.h
diff options
context:
space:
mode:
authorJack Jamison <jackqjamison@gmail.com>2025-10-17 19:11:11 -0400
committerJack Jamison <jackqjamison@gmail.com>2025-10-17 19:11:11 -0400
commit1228252e6bc4f18664725d60413896e6d9d9a6c5 (patch)
treeb742b34d3d2e18c1884163df2c5717e00c046029 /state.h
parent2d8507c060a7b7de6f0a714ad98d99b37856d8af (diff)
basic option text layout
Diffstat (limited to 'state.h')
-rw-r--r--state.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/state.h b/state.h
index 87c3126..f1b3327 100644
--- a/state.h
+++ b/state.h
@@ -22,6 +22,7 @@
typedef struct {
GLuint vbo, ebo, vao;
uint32_t num_elements;
+ size_t pixel_len;
} text_buffer_t;
typedef struct {
@@ -79,7 +80,7 @@ typedef struct {
GLuint text_shader;
GLuint screen_size_uniform;
GLuint offset_uniform;
- text_buffer_t input_buffer_text;
+ text_buffer_t input_buffer_grafix;
// fonts
FT_Library ft_library;