mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Merge pull request #431 from devnexen/apple_old_lambs_are_not_dead_yet
Silence deprecation warning with OpenGL.
This commit is contained in:
commit
a50ac0ebd5
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