summaryrefslogtreecommitdiff
path: root/src/platform_glfw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform_glfw.c')
-rw-r--r--src/platform_glfw.c3
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) {