Fix examples warnings for macos (#3842)

This commit is contained in:
aiafrasinei 2024-02-27 23:15:09 +02:00 committed by GitHub
parent f0807d2be1
commit 2aed94cfc2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 4 deletions

View file

@ -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