allow RLGL to be used for the example that use GLAD
This commit is contained in:
parent
63034f8dae
commit
a49fb3b110
1 changed files with 111 additions and 102 deletions
|
|
@ -38,8 +38,6 @@
|
|||
#define GL_SILENCE_DEPRECATION // Silence Opengl API deprecation warnings
|
||||
#include <OpenGL/gl3.h> // OpenGL 3 library for OSX
|
||||
#include <OpenGL/gl3ext.h> // OpenGL 3 extensions library for OSX
|
||||
#else
|
||||
#include "glad.h" // Required for: OpenGL functionality
|
||||
#endif
|
||||
#define GLSL_VERSION 330
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue