mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-17 01:21:12 +00:00
Silence deprecation warning with OpenGL.
on Darwin, Mojabe has deprecated it in favor of Metal, here we silent the lengthy build warning.
This commit is contained in:
parent
751b09ba33
commit
97e66dfd9b
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
|
#define GL_SILENCE_DEPRECATION
|
||||||
#include <OpenGL/gl.h>
|
#include <OpenGL/gl.h>
|
||||||
#else
|
#else
|
||||||
#include <GL/gl.h>
|
#include <GL/gl.h>
|
||||||
|
|
Loading…
Reference in a new issue