Fix examples warnings for macos (#3842)
This commit is contained in:
parent
f0807d2be1
commit
2aed94cfc2
3 changed files with 3 additions and 4 deletions
|
@ -35,6 +35,7 @@
|
|||
#define GLSL_VERSION 100
|
||||
#else
|
||||
#if defined(__APPLE__)
|
||||
#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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue