mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 15:23:17 +01:00
Added context sharing.
This commit is contained in:
@@ -577,7 +577,7 @@ int main( void )
|
||||
|
||||
glfwOpenWindowHint(GLFW_DEPTH_BITS, 16);
|
||||
|
||||
window = glfwOpenWindow( 400, 400, GLFW_WINDOWED, "Boing (classic Amiga demo)" );
|
||||
window = glfwOpenWindow( 400, 400, GLFW_WINDOWED, "Boing (classic Amiga demo)", NULL );
|
||||
if (!window)
|
||||
{
|
||||
fprintf( stderr, "Failed to open GLFW window\n" );
|
||||
|
||||
Reference in New Issue
Block a user