mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 22:00:33 +05:00
silence opengl warnings
This commit is contained in:
parent
2484c6c629
commit
7f442d14f2
@ -5,6 +5,7 @@
|
|||||||
#include <mydefs.hpp>
|
#include <mydefs.hpp>
|
||||||
|
|
||||||
# if defined(TOGL_AGL) || defined(TOGL_AGL_CLASSIC) || defined(TOGL_NSOPENGL)
|
# if defined(TOGL_AGL) || defined(TOGL_AGL_CLASSIC) || defined(TOGL_NSOPENGL)
|
||||||
|
#define GL_SILENCE_DEPRECATION
|
||||||
# include <OpenGL/gl.h>
|
# include <OpenGL/gl.h>
|
||||||
# include <OpenGL/glu.h>
|
# include <OpenGL/glu.h>
|
||||||
# else
|
# else
|
||||||
|
Loading…
Reference in New Issue
Block a user