From 5dd44f1f6980d9e890d36a16e55f11819319e08e Mon Sep 17 00:00:00 2001 From: Sarah Evans Date: Sun, 7 Apr 2024 07:49:05 -0500 Subject: [PATCH] example: defines GLAD_GL_IMPLEMENTATION in GLFW example (#464) --- .gitignore | 3 ++- example/c/gl_glfw.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 8cff707d..cc054834 100644 --- a/.gitignore +++ b/.gitignore @@ -17,4 +17,5 @@ dist/ /glad-rs/ /rust/ target/ -Cargo.lock \ No newline at end of file +Cargo.lock +.vscode/ \ No newline at end of file diff --git a/example/c/gl_glfw.c b/example/c/gl_glfw.c index a6d6eb46..9185880f 100644 --- a/example/c/gl_glfw.c +++ b/example/c/gl_glfw.c @@ -1,6 +1,7 @@ #include #include +#define GLAD_GL_IMPLEMENTATION // Necessary for headeronly version. #include #include