From caca0d4d08bcd159210fbf6fffb6a8048cc1ddc4 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Wed, 9 Sep 2020 13:04:21 +0200 Subject: [PATCH] Use __APPLE__ instead of TOGL_NSOPENGL --- libsrc/include/incopengl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/include/incopengl.hpp b/libsrc/include/incopengl.hpp index 9ce0d413..1f42f12f 100644 --- a/libsrc/include/incopengl.hpp +++ b/libsrc/include/incopengl.hpp @@ -5,7 +5,7 @@ #include #include -# 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