From 07116cd28845c3e589ab7e99f32d0ab96dd5cf4d Mon Sep 17 00:00:00 2001 From: onelin Date: Sat, 29 Nov 2025 23:04:52 +0100 Subject: TMP Rework rendering --- src/platform_glfw.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/platform_glfw.c') 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) { -- cgit v1.3