Updated example and test programs to new API.

This commit is contained in:
Camilla Berglund
2010-09-14 03:10:59 +02:00
parent 0f80e066ea
commit e244ad3d41
15 changed files with 17 additions and 48 deletions
+1 -2
View File
@@ -274,7 +274,7 @@ int main(void)
printf("Library initialized\n");
window = glfwOpenWindow(0, 0, GLFW_WINDOWED);
window = glfwOpenWindow(0, 0, GLFW_WINDOWED, "Event Linter");
if (!window)
{
glfwTerminate();
@@ -285,7 +285,6 @@ int main(void)
printf("Window opened\n");
glfwSetWindowTitle(window, "Event Linter");
glfwSwapInterval(1);
glfwSetWindowSizeCallback(window, window_size_callback);