mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 00:30:57 +00:00
Moved bits parameters from glfwOpenWindow to glfwOpenWindowHint.
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ int main( void )
|
||||
}
|
||||
|
||||
// Open a window and create its OpenGL context
|
||||
window = glfwOpenWindow( 640, 480, 0,0,0,0, 0,0, GLFW_WINDOW );
|
||||
window = glfwOpenWindow( 640, 480, GLFW_WINDOW );
|
||||
if (!window)
|
||||
{
|
||||
fprintf( stderr, "Failed to open GLFW window\n" );
|
||||
|
||||
Reference in New Issue
Block a user