Change screenshot filename to contain shader name and frame count

This commit is contained in:
Dimitri Lozeve 2021-02-27 22:54:24 +01:00
parent 6fe9d082b9
commit beb8332854
3 changed files with 38 additions and 7 deletions

View file

@ -34,7 +34,8 @@ unsigned int initialize_framebuffer(unsigned int *framebuffer,
unsigned int texture_width,
unsigned int texture_height);
void framebuffer_size_callback(GLFWwindow *window, int width, int height);
void capture_screenshot();
char *basename_without_suffix(const char *filename);
void capture_screenshot(struct renderer_state *state);
void process_input(struct renderer_state *state);
#endif /* RENDERER_H */