Move framebuffer initialization to a helper function
This commit is contained in:
parent
163cdd63d4
commit
03d1a2c9f4
3 changed files with 39 additions and 18 deletions
|
@ -5,6 +5,10 @@
|
|||
|
||||
GLFWwindow *initialize_window(int width, int height);
|
||||
unsigned int initialize_vertices();
|
||||
unsigned int initialize_framebuffer(unsigned int *framebuffer,
|
||||
unsigned int *texture_color_buffer,
|
||||
unsigned int texture_width,
|
||||
unsigned int texture_height);
|
||||
void framebuffer_size_callback(GLFWwindow *window, int width, int height);
|
||||
void capture_screenshot();
|
||||
void process_input(GLFWwindow *window, unsigned int *screen_shader,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue