aboutsummaryrefslogtreecommitdiff
path: root/state.h
diff options
context:
space:
mode:
authorRiley Beckett <rbeckettvt@gmail.com>2025-10-16 09:41:06 -0400
committerRiley Beckett <rbeckettvt@gmail.com>2025-10-16 09:41:06 -0400
commitab4b6df33f1f07c49996bc6a770d387a3a71e6c7 (patch)
tree94841f0297cc7a7eec0b684a2a39e11ed0d7b202 /state.h
parent234fb5416e3008544c7a1755d9e26d1d3d5a0549 (diff)
fix text layouting
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 4226711..29eac02 100644
--- a/state.h
+++ b/state.h
@@ -17,10 +17,11 @@
#include "./glad/glad.h"
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
+#define MIN(a, b) (((a) < (b)) ? (a) : (b))
typedef struct {
GLuint vbo, ebo, vao;
- uint32_t numElements;
+ uint32_t num_elements;
} text_buffer_t;
typedef struct {