1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-26 20:28:49 -05:00

Updated to new API.

This commit is contained in:
Camilla Berglund 2012-02-04 02:13:44 +01:00
parent ad55edf114
commit ee4f2386e7

View File

@ -41,7 +41,7 @@ int main(void)
{
GLFWwindow window;
if (!glfwInit())
if (!glfwInit(NULL))
{
fprintf(stderr, "Failed to initialize GLFW: %s\n", glfwErrorString(glfwGetError()));
exit(EXIT_FAILURE);