mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 15:23:17 +01:00
Moved bits parameters from glfwOpenWindow to glfwOpenWindowHint.
This commit is contained in:
@@ -457,8 +457,10 @@ int main( void )
|
||||
exit( EXIT_FAILURE );
|
||||
}
|
||||
|
||||
glfwOpenWindowHint(GLFW_DEPTH_BITS, 16);
|
||||
|
||||
// Open OpenGL window
|
||||
window = glfwOpenWindow( 500, 500, 0,0,0,0, 16,0, GLFW_WINDOW );
|
||||
window = glfwOpenWindow( 500, 500, GLFW_WINDOW );
|
||||
if (!window)
|
||||
{
|
||||
fprintf( stderr, "Failed to open GLFW window\n" );
|
||||
|
||||
Reference in New Issue
Block a user