From ab4b6df33f1f07c49996bc6a770d387a3a71e6c7 Mon Sep 17 00:00:00 2001 From: Riley Beckett Date: Thu, 16 Oct 2025 09:41:06 -0400 Subject: fix text layouting --- state.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'state.h') 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 { -- cgit v1.2.3