mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 00:59:48 +00:00
Added context sharing.
This commit is contained in:
+1
-1
@@ -337,7 +337,7 @@ int main(int argc, char* argv[])
|
||||
glfwOpenWindowHint(GLFW_DEPTH_BITS, 16);
|
||||
|
||||
/* Open window */
|
||||
window = glfwOpenWindow(width, height, mode, "Wave Simulation");
|
||||
window = glfwOpenWindow(width, height, mode, "Wave Simulation", NULL);
|
||||
if (!window)
|
||||
{
|
||||
fprintf(stderr, "Could not open window\n");
|
||||
|
||||
Reference in New Issue
Block a user