diff options
| author | onelin <oscar@nelin.dk> | 2025-11-29 22:04:52 +0000 |
|---|---|---|
| committer | onelin <oscar@nelin.dk> | 2025-12-18 21:14:16 +0000 |
| commit | 07116cd28845c3e589ab7e99f32d0ab96dd5cf4d (patch) | |
| tree | 0382594d2d58376daa527aaa131d81d8273834a5 /src/platform_glfw.c | |
| parent | c2335eab1db200481c3e81664f27f9244579397c (diff) | |
TMP Rework rendering
Diffstat (limited to 'src/platform_glfw.c')
| -rw-r--r-- | src/platform_glfw.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/platform_glfw.c b/src/platform_glfw.c index 5453258..92e29a2 100644 --- a/src/platform_glfw.c +++ b/src/platform_glfw.c @@ -133,6 +133,7 @@ void window_destroy_glfw(Window *restrict w) { void window_resize_glfw(Window *restrict window, int width, int height) { window_resize_callback(window->window, width, height); framebuffer_resize_callback(window->window, width, height); + DEBUG("Resizing to <%d,%d>\n", width, height); } bool window_should_close_glfw(Window *restrict window) { @@ -152,6 +153,7 @@ static void window_resize_callback(GLFWwindow* window, int width, int height) { const GladGLContext* gl = w->context; gl->Finish(); } + DEBUG("WINDOW RESIZE <%d,%d>\n", width, height); } static void framebuffer_resize_callback(GLFWwindow* window, int width, int height) { @@ -167,6 +169,7 @@ static void framebuffer_resize_callback(GLFWwindow* window, int width, int heigh //r_reset_camera(c); } + DEBUG("FRAMEBUFFER RESIZE <%d,%d>\n", width, height); } static void glfw_err_callback(int code, const char* description) { |
