summaryrefslogtreecommitdiffhomepage
path: root/examples/others/raylib_opengl_interop.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/others/raylib_opengl_interop.c')
-rw-r--r--examples/others/raylib_opengl_interop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/others/raylib_opengl_interop.c b/examples/others/raylib_opengl_interop.c
index c1b58d67..b0b7d6ff 100644
--- a/examples/others/raylib_opengl_interop.c
+++ b/examples/others/raylib_opengl_interop.c
@@ -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