Hello everyone,
can someone please tell me the problem, couse I tryed to find why but it looks like it have'nt happen to anyone alse then me... (so unlucky..)
Here is the code:
#include <stdio.h>
#include <stdlib.h>
#include <GL\glew.h>
#include <GLFW\glfw3.h>
int main(){
if (glfwInit() == false)
{
fprintf(stderr, "Failed to initialize GLFW");
return -1;
}
glfwWindowHint(GLFW_SAMPLES, 4);
glfwWindowHint(GLFW_VERSION_MAJOR, 3);
glfwWindowHint(GLFW_VERSION_MINOR, 3);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
GLFWwindow* window;
window = glfwCreateWindow(1024, 768, "yaniv's game", NULL, NULL);
if (window == NULL)
{
fprintf(stderr, "Failed to create a GLFW window");
glfwTerminate();
return -1;
}