loggin on window pos setting success
This commit is contained in:
@@ -46,7 +46,9 @@ bool Application::Init() {
|
||||
|
||||
if (GetWindowData().pos_x != -1 && GetWindowData().pos_y != -1) {
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user