Add keyboard shortcut to take screenshots

This commit is contained in:
Dimitri Lozeve 2021-02-24 09:11:21 +01:00
parent 0b0ed67bc2
commit 57cdfca13d
4 changed files with 47 additions and 2 deletions

View file

@ -5,8 +5,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 framebuffer_size_callback(GLFWwindow *window, int width, int height);
#endif /* RENDERER_H */