New answers tagged glfw
You can see from the source code that glfwCreateWindow returns a null pointer in only a few circumstances (as of this writing). GLFW is not initialized at all (_GLFW_REQUIRE_INIT_OR_RETURN(NULL); on line 137). The width or height you specify for the window is zero or negative. The context configuration (controlled by you via the window hints, checked via ...
Top 50 recent answers are included