aboutsummaryrefslogtreecommitdiff
path: root/state.h
diff options
context:
space:
mode:
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 {