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
@@ -329,7 +329,9 @@ int main(int argc, char *argv[])
exit( EXIT_FAILURE );
}
window = glfwOpenWindow( 300,300, 0,0,0,0, 16,0, GLFW_WINDOW );
glfwOpenWindowHint(GLFW_DEPTH_BITS, 16);
window = glfwOpenWindow( 300, 300, GLFW_WINDOW );
if (!window)
{
fprintf( stderr, "Failed to open GLFW window\n" );