Skip to content

Commit

Permalink
Merge pull request vurtun#665 from upiter/patch-1
Browse files Browse the repository at this point in the history
Fix `Error 65543: NSGL` on macOS
  • Loading branch information
vurtun authored Jun 29, 2018
2 parents 4ce3b6a + b3b0c9e commit aeb1826
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions example/canvas.c
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ int main(int argc, char *argv[])
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
win = glfwCreateWindow(WINDOW_WIDTH, WINDOW_HEIGHT, "Demo", NULL, NULL);
glfwMakeContextCurrent(win);
glfwSetWindowUserPointer(win, &ctx);
Expand Down

0 comments on commit aeb1826

Please sign in to comment.