Hide more OpenGL deprecation warnings on OSX
This commit is contained in:
parent
49c46dc796
commit
ff67d6300d
|
@ -27,6 +27,10 @@
|
||||||
* @brief
|
* @brief
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// Apple, in their infinite wisdom, has decided to mark OpenGL as deprecated.
|
||||||
|
// Luckily we can silence warnings about its deprecation. This is needed on the GLEW
|
||||||
|
// includes since they seem to transitively include the OpenGL headers.
|
||||||
|
#define GL_SILENCE_DEPRECATION 1
|
||||||
#include <GL/glew.h>
|
#include <GL/glew.h>
|
||||||
|
|
||||||
#include "c3d_render_ogl_legacy.h"
|
#include "c3d_render_ogl_legacy.h"
|
||||||
|
|
Loading…
Reference in New Issue