Index: new-game.cpp
===================================================================
--- new-game.cpp	(revision 5272b6b05d460df150e8214b62d11326d536211c)
+++ new-game.cpp	(revision 516668e090ff32f4358c33c089b73a527ea50e15)
@@ -31,4 +31,23 @@
    glEnable(GL_DEPTH_TEST);
    glDepthFunc(GL_LESS);
+
+   GLfloat points[] = {
+      0.0f,  0.5f,  0.0f,
+      0.5f, -0.5f,  0.0f,
+     -0.5f, -0.5f,  0.0f,
+   };
+
+   GLuint vbo = 0;
+   glGenBuffers(1, &vbo);
+   glBindBuffer(GL_ARRAY_BUFFER, vbo);
+   glBufferData(GL_ARRAY_BUFFER, sizeof(points), points, GL_STATIC_DRAW);
+
+   GLuint vao=0;
+   glGenVertexArrays(1, &vao);
+   glBindVertexArray(vao);
+   glEnableVertexAttribArray(0);
+   glBindBuffer(GL_ARRAY_BUFFER, vbo);
+   glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 0, NULL);
+
    glfwTerminate();
    return 0;
