mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 00:59:48 +00:00
Updated example and test programs to new API.
This commit is contained in:
+1
-2
@@ -56,7 +56,7 @@ int main(void)
|
||||
|
||||
glfwOpenWindowHint(GLFW_FSAA_SAMPLES, 4);
|
||||
|
||||
window = glfwOpenWindow(400, 400, GLFW_WINDOWED);
|
||||
window = glfwOpenWindow(400, 400, GLFW_WINDOWED, "Aliasing Detector");
|
||||
if (!window)
|
||||
{
|
||||
glfwTerminate();
|
||||
@@ -65,7 +65,6 @@ int main(void)
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
glfwSetWindowTitle(window, "Aliasing Detector");
|
||||
glfwSetWindowSizeCallback(window, window_size_callback);
|
||||
glfwSwapInterval(1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user