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);