read fragment shader from file

This commit is contained in:
2025-09-12 19:19:45 +02:00
parent fda0de78c7
commit f90e842bd8
10 changed files with 121 additions and 51 deletions
+5 -2
View File
@@ -1,8 +1,9 @@
#include <glad/gl.h>
#include <linmath.h>
#include <stdbool.h>
#include <time.h>
#include <glad/gl.h>
#include <linmath.h>
#ifndef TYPES_H
#define TYPES_H
@@ -35,6 +36,8 @@ typedef struct ShaderProgram {
GLuint ires_location;
GLuint vertex_array;
bool error;
} ShaderProgram;
#endif