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 -4
View File
@@ -337,7 +337,7 @@ int main(int argc, char* argv[])
glfwOpenWindowHint(GLFW_DEPTH_BITS, 16);
/* Open window */
window = glfwOpenWindow(width,height,mode);
window = glfwOpenWindow(width, height, mode, "Wave Simulation");
if (!window)
{
fprintf(stderr, "Could not open window\n");
@@ -345,9 +345,6 @@ int main(int argc, char* argv[])
exit(-1);
}
/* Set title */
glfwSetWindowTitle( window, "Wave Simulation" );
glfwSwapInterval( 1 );
/* Keyboard handler */