1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-25 22:53:19 +00:00

Merge pull request #90 from Quuxplusone/gl-deprecation

Define `GL_SILENCE_DEPRECATION` on OSX
This commit is contained in:
Zeno Rogue 2020-02-16 17:53:50 +01:00 committed by GitHub
commit 155c2f38d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -389,6 +389,7 @@ extern "C" {
#else
#define GL_GLEXT_PROTOTYPES 1
#if ISMAC
#define GL_SILENCE_DEPRECATION 1
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#include <OpenGL/glext.h>