mirror of
https://github.com/glfw/glfw.git
synced 2024-11-14 02:31:46 +00:00
Formatting.
This commit is contained in:
parent
129598eb51
commit
06b5d0f665
@ -46,9 +46,7 @@ static void set_swap_interval(GLFWwindow window, int interval)
|
|||||||
swap_interval = interval;
|
swap_interval = interval;
|
||||||
glfwSwapInterval(swap_interval);
|
glfwSwapInterval(swap_interval);
|
||||||
|
|
||||||
sprintf(title,
|
sprintf(title, "Cursor Inaccuracy Detector (interval %i)", swap_interval);
|
||||||
"Cursor Inaccuracy Detector (interval %i)",
|
|
||||||
swap_interval);
|
|
||||||
|
|
||||||
glfwSetWindowTitle(window, title);
|
glfwSetWindowTitle(window, title);
|
||||||
}
|
}
|
||||||
|
@ -43,9 +43,7 @@ static void set_swap_interval(GLFWwindow window, int interval)
|
|||||||
swap_interval = interval;
|
swap_interval = interval;
|
||||||
glfwSwapInterval(swap_interval);
|
glfwSwapInterval(swap_interval);
|
||||||
|
|
||||||
sprintf(title,
|
sprintf(title, "Tearing detector (interval %i)", swap_interval);
|
||||||
"Tearing detector (interval %i)",
|
|
||||||
swap_interval);
|
|
||||||
|
|
||||||
glfwSetWindowTitle(window, title);
|
glfwSetWindowTitle(window, title);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user