Moved bits parameters from glfwOpenWindow to glfwOpenWindowHint.

This commit is contained in:
Camilla Berglund
2010-09-09 19:58:51 +02:00
parent 5fd3fc71de
commit 950a3beda2
16 changed files with 59 additions and 28 deletions
+3 -1
View File
@@ -574,7 +574,9 @@ int main( void )
exit( EXIT_FAILURE );
}
GLFWwindow window = glfwOpenWindow( 400,400, 0,0,0,0, 16,0, GLFW_WINDOW );
glfwOpenWindowHint(GLFW_DEPTH_BITS, 16);
GLFWwindow window = glfwOpenWindow( 400, 400, GLFW_WINDOW );
if (!window)
{
fprintf( stderr, "Failed to open GLFW window\n" );