#include int main(void) { glfwInit(); if (!glfwOpenWindow(640, 480, 0, 0, 0, 0, 0, 0, GLFW_WINDOW)) { glfwTerminate(); return 0; } glfwSetWindowTitle("Minimal GLFW test"); while (1) { glfwSwapBuffers(); if (glfwGetKey(GLFW_KEY_ESC)) break; } glfwTerminate(); return 0; }