mirror of
https://github.com/glfw/glfw.git
synced 2026-11-18 04:44:54 +00:00
Updated example and test programs to new API.
This commit is contained in:
+1
-4
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user