disable opengl warnings

This commit is contained in:
Joachim Schöberl 2019-09-03 17:06:26 +02:00
parent 26fcc2b177
commit 5d1ab6f12c

View File

@ -48,6 +48,7 @@
# if defined(TOGL_AGL) # if defined(TOGL_AGL)
# include <OpenGL/gl.h> # include <OpenGL/gl.h>
# elif defined(TOGL_NSOPENGL) # elif defined(TOGL_NSOPENGL)
#define GL_SILENCE_DEPRECATION
# include <OpenGL/OpenGL.h> # include <OpenGL/OpenGL.h>
# include <OpenGL/gl.h> # include <OpenGL/gl.h>
# else # else