diff options
| author | aiafrasinei <[email protected]> | 2024-02-27 23:15:09 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-02-27 22:15:09 +0100 |
| commit | 2aed94cfc21aeb9dc0371964485866aab4384671 (patch) | |
| tree | 141587247876393d2bae19e3e2c0b7716a536860 /examples/others | |
| parent | f0807d2be1cee5aedc48681ae2df978fa3a44ab6 (diff) | |
| download | raylib-2aed94cfc21aeb9dc0371964485866aab4384671.tar.gz raylib-2aed94cfc21aeb9dc0371964485866aab4384671.zip | |
Fix examples warnings for macos (#3842)
Diffstat (limited to 'examples/others')
| -rw-r--r-- | examples/others/raylib_opengl_interop.c | 1 |
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 |
