diff options
Diffstat (limited to 'platform/gl')
| -rw-r--r-- | platform/gl/gl.c | 1 |
1 files changed, 1 insertions, 0 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(); |
