Add link to the thing I'm following
This commit is contained in:
parent
dc6292b46f
commit
67048a14f4
|
@ -3,6 +3,8 @@
|
|||
#define GLFW_INCLUDE_NONE
|
||||
#include "GLFW/glfw3.h"
|
||||
|
||||
//http://seshbot.com/blog/2015/05/05/an-introduction-to-opengl-getting-started/
|
||||
|
||||
static void key_callback(GLFWwindow *w, int key, int scancode, int action, int mods) {
|
||||
if (key == GLFW_KEY_ESCAPE && action == GLFW_PRESS) {
|
||||
glfwSetWindowShouldClose(w, GL_TRUE);
|
||||
|
|
Loading…
Reference in New Issue