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

View File

@@ -460,7 +460,7 @@ int main( void )
glfwOpenWindowHint(GLFW_DEPTH_BITS, 16);
// Open OpenGL window
window = glfwOpenWindow( 500, 500, GLFW_WINDOWED );
window = glfwOpenWindow( 500, 500, GLFW_WINDOWED, "Split view demo" );
if (!window)
{
fprintf( stderr, "Failed to open GLFW window\n" );
@@ -471,9 +471,6 @@ int main( void )
// Enable vsync
glfwSwapInterval( 1 );
// Set window title
glfwSetWindowTitle( window, "Split view demo" );
// Enable sticky keys
glfwEnable( window, GLFW_STICKY_KEYS );