Skip to content

Commit

Permalink
Defined GLAD_GL_IMPLEMENTATION to GLFW example
Browse files Browse the repository at this point in the history
Also added .vscode to .gitignore. If this is
an issue please let me know so I can remove
it before the pull.
  • Loading branch information
makichiis committed Apr 2, 2024
1 parent 658f48e commit 2270133
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ dist/
/glad-rs/
/rust/
target/
Cargo.lock
Cargo.lock
.vscode/
1 change: 1 addition & 0 deletions example/c/gl_glfw.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <stdlib.h>
#include <stdio.h>

#define GLAD_GL_IMPLEMENTATION
#include <glad/gl.h>

#include <GLFW/glfw3.h>
Expand Down

0 comments on commit 2270133

Please sign in to comment.