mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-26 12:18:51 -05:00
Updated to new API.
This commit is contained in:
parent
ad55edf114
commit
ee4f2386e7
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user