Split into several files

This commit is contained in:
Dimitri Lozeve 2021-02-23 19:42:11 +01:00
parent a3a19af3ec
commit 2480fa80ef
7 changed files with 275 additions and 226 deletions

8
shaders.h Normal file
View file

@ -0,0 +1,8 @@
#ifndef SHADERS_H
#define SHADERS_H
char *read_file(const char *const filename);
int compile_shaders(unsigned int *shader_program,
const char *const fragment_shader_file);
#endif /* SHADERS_H */