Add link to the thing I'm following

This commit is contained in:
Archie Hilton 2024-04-19 22:54:25 +01:00
parent dc6292b46f
commit 67048a14f4
1 changed files with 2 additions and 0 deletions

View File

@ -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);