loggin on window pos setting success

This commit is contained in:
2026-03-09 21:29:36 +01:00
parent 387df94c34
commit 880630790b

View File

@@ -46,7 +46,9 @@ bool Application::Init() {
if (GetWindowData().pos_x != -1 && GetWindowData().pos_y != -1) { if (GetWindowData().pos_x != -1 && GetWindowData().pos_y != -1) {
if (!SDL_SetWindowPosition(m_Window, GetWindowData().pos_x, GetWindowData().pos_y)) { if (!SDL_SetWindowPosition(m_Window, GetWindowData().pos_x, GetWindowData().pos_y)) {
LOG_ERROR("Failed to set SDL_Window position", SDL_GetError()); LOG_ERROR("Failed to set SDL_Window position {0}", SDL_GetError());
} else {
LOG_INFO("SDL window position set to the initial value: x {0}, y {1}", GetWindowData().pos_x, GetWindowData().pos_y);
} }
} }