refactor shaders.c and print error logs

This commit is contained in:
2025-09-13 18:04:00 +02:00
parent 4753e79853
commit db2645a1b5
7 changed files with 70 additions and 51 deletions
+1 -1
View File
@@ -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"