Merge pull request #431 from devnexen/apple_old_lambs_are_not_dead_yet

Silence deprecation warning with OpenGL.
This commit is contained in:
Yamagi 2019-08-31 10:07:37 +02:00 committed by GitHub
commit a50ac0ebd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,6 +34,7 @@
#endif
#if defined(__APPLE__)
#define GL_SILENCE_DEPRECATION
#include <OpenGL/gl.h>
#else
#include <GL/gl.h>