mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
Use __APPLE__ instead of TOGL_NSOPENGL
This commit is contained in:
parent
00ce0a2769
commit
caca0d4d08
@ -5,7 +5,7 @@
|
||||
#include <mystdlib.h>
|
||||
#include <mydefs.hpp>
|
||||
|
||||
# if defined(TOGL_AGL) || defined(TOGL_AGL_CLASSIC) || defined(TOGL_NSOPENGL)
|
||||
# ifdef __APPLE__
|
||||
#define GL_SILENCE_DEPRECATION
|
||||
#define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED
|
||||
# include <OpenGL/gl3.h>
|
||||
|
Loading…
Reference in New Issue
Block a user