#include #include int main(int argc, char *argv[]) { GLFWwindow* window; // initiate glfw library if (!glfwInit()){ printf("Failed to initiate GLFW.\n"); return -1; } // create glfw window window = glfwCreateWindow(800, 600, "raycaster", NULL, NULL); if (!window){ printf("Failed to create GLFW window.\n"); glfwTerminate(); return -1; } // make window current glfwMakeContextCurrent(window); while (!glfwWindowShouldClose(window)) { glClear(GL_COLOR_BUFFER_BIT); glfwSwapBuffers(window); glfwPollEvents(); } glfwTerminate(); return 0; }