silence opengl warnings

This commit is contained in:
Joachim Schöberl 2019-08-27 06:18:17 +02:00
parent 2484c6c629
commit 7f442d14f2

View File

@ -5,6 +5,7 @@
#include <mydefs.hpp>
# if defined(TOGL_AGL) || defined(TOGL_AGL_CLASSIC) || defined(TOGL_NSOPENGL)
#define GL_SILENCE_DEPRECATION
# include <OpenGL/gl.h>
# include <OpenGL/glu.h>
# else