aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform/gl/gl.c1
-rw-r--r--teensy/teensy_list.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/platform/gl/gl.c b/platform/gl/gl.c
index 1045632..060a19d 100644
--- a/platform/gl/gl.c
+++ b/platform/gl/gl.c
@@ -128,6 +128,7 @@ void ty_platform_init(struct ty_ctx *ctx)
GL_FALSE,
sizeof(struct ty_vec2) * 2, (void*)sizeof(struct ty_vec2)
);
+
glEnableVertexAttribArray(1);
p.program = glCreateProgram();
diff --git a/teensy/teensy_list.h b/teensy/teensy_list.h
index dd1e06a..fb1a401 100644
--- a/teensy/teensy_list.h
+++ b/teensy/teensy_list.h
@@ -16,7 +16,6 @@ struct ty_list_header {
#define ty_list_cap(arr) (ty_list_get_header(arr)->cap)
#define ty_list_len(arr) (ty_list_get_header(arr)->len)
-
#define ty_list_reserve(arr, amt) \
do { \
struct ty_list_header *header = ty_list_get_header(arr); \