Recompile both fragment shaders when resetting

This commit is contained in:
Dimitri Lozeve 2021-02-24 21:50:45 +01:00
parent 60d94b06f2
commit f434b661eb
2 changed files with 12 additions and 5 deletions

View file

@ -7,7 +7,9 @@ GLFWwindow *initialize_window(int width, int height);
unsigned int initialize_vertices();
void framebuffer_size_callback(GLFWwindow *window, int width, int height);
void capture_screenshot();
void process_input(GLFWwindow *window, unsigned int *shader_program,
const char *const fragment_shader_file);
void process_input(GLFWwindow *window, unsigned int *screen_shader,
const char *const screen_shader_file,
unsigned int *buffer_shader,
const char *const buffer_shader_file);
#endif /* RENDERER_H */