mirror of
https://github.com/glfw/glfw.git
synced 2026-11-18 12:54:54 +00:00
Moved bits parameters from glfwOpenWindow to glfwOpenWindowHint.
This commit is contained in:
+3
-1
@@ -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" );
|
||||
|
||||
Reference in New Issue
Block a user