mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-23 04:52:07 +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
|
||||
|
||||
#if defined(__APPLE__)
|
||||
#define GL_SILENCE_DEPRECATION
|
||||
#include <OpenGL/gl.h>
|
||||
#else
|
||||
#include <GL/gl.h>
|
||||
|
|
Loading…
Reference in a new issue