summaryrefslogtreecommitdiff
path: root/src/video/opengl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/opengl.cpp')
-rw-r--r--src/video/opengl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video/opengl.cpp b/src/video/opengl.cpp
index 6e37db03b..8ac12b959 100644
--- a/src/video/opengl.cpp
+++ b/src/video/opengl.cpp
@@ -22,6 +22,7 @@
#define GL_GLEXT_PROTOTYPES
#if defined(__APPLE__)
+# define GL_SILENCE_DEPRECATION
# include <OpenGL/gl3.h>
#else
# include <GL/gl.h>