From dcb27ce24298bf17b778b9a600d8a46d4e75503b Mon Sep 17 00:00:00 2001 From: Brad Grantham Date: Sun, 10 Feb 2019 22:58:06 -0800 Subject: [PATCH] silence GL deprecation --- gl_utility.cpp | 2 ++ gl_utility.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/gl_utility.cpp b/gl_utility.cpp index 89e0977..9e5e622 100644 --- a/gl_utility.cpp +++ b/gl_utility.cpp @@ -1,6 +1,8 @@ #include #include +#define GL_SILENCE_DEPRECATION + #if defined(__linux__) #include #endif // defined(__linux__) diff --git a/gl_utility.h b/gl_utility.h index 7937f11..9cae34a 100644 --- a/gl_utility.h +++ b/gl_utility.h @@ -1,6 +1,8 @@ #if !defined(__GLWIDGET_H__) #define __GLWIDGET_H__ +#define GL_SILENCE_DEPRECATION + #if defined(__linux__) #include #endif // defined(__linux__)