mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Cosmetics.
This commit is contained in:
parent
77e3a480a4
commit
07d921b322
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user