refactor shaders.c and print error logs
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
||||
#ifndef CONSTANTS_H
|
||||
#define CONSTANTS_H
|
||||
|
||||
static const char *vertex_shader_text =
|
||||
static char *vertex_shader_text =
|
||||
"#version 330\n"
|
||||
"uniform mat4 mvp;\n"
|
||||
"in vec2 vPos;\n"
|
||||
|
||||
Reference in New Issue
Block a user