Cosmetics.

This commit is contained in:
Bartosz Taudul 2022-08-14 11:29:36 +02:00
parent 77e3a480a4
commit 07d921b322
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -24,7 +24,7 @@ static void glfw_error_callback( int error, const char* description )
static void glfw_window_pos_callback( GLFWwindow* window, int x, int y ) static void glfw_window_pos_callback( GLFWwindow* window, int x, int y )
{ {
if( !glfwGetWindowAttrib( window, GLFW_MAXIMIZED) ) if( !glfwGetWindowAttrib( window, GLFW_MAXIMIZED ) )
{ {
s_winPos->x = x; s_winPos->x = x;
s_winPos->y = y; s_winPos->y = y;
@ -33,7 +33,7 @@ static void glfw_window_pos_callback( GLFWwindow* window, int x, int y )
static void glfw_window_size_callback( GLFWwindow* window, int w, int h ) static void glfw_window_size_callback( GLFWwindow* window, int w, int h )
{ {
if( !glfwGetWindowAttrib( window, GLFW_MAXIMIZED) ) if( !glfwGetWindowAttrib( window, GLFW_MAXIMIZED ) )
{ {
s_winPos->w = w; s_winPos->w = w;
s_winPos->h = h; s_winPos->h = h;