#include <GLFW\glfw3.h>
#include <iostream>
int main(){
GLFWwindow *window = glfwCreateWindow(640, 480, "Title", NULL, NULL);
if (!glfwInit) {
std::cout << "GLFW initialization failed.";
}
if (!window) {
std::cout << "Failure to create window.\n";
}
std::system("PAUSE");
return 0;
}
Any ideas on how to fix this, glfwInit is true, but the window creation fails. I am using Visual Studio 2015 Community