Use __APPLE__ instead of TOGL_NSOPENGL

This commit is contained in:
Matthias Hochsteger 2020-09-09 13:04:21 +02:00
parent 00ce0a2769
commit caca0d4d08

View File

@ -5,7 +5,7 @@
#include <mystdlib.h> #include <mystdlib.h>
#include <mydefs.hpp> #include <mydefs.hpp>
# if defined(TOGL_AGL) || defined(TOGL_AGL_CLASSIC) || defined(TOGL_NSOPENGL) # ifdef __APPLE__
#define GL_SILENCE_DEPRECATION #define GL_SILENCE_DEPRECATION
#define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED #define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED
# include <OpenGL/gl3.h> # include <OpenGL/gl3.h>