From 97e66dfd9b183e4ab2c20a564c97f3284335dce8 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Thu, 1 Aug 2019 20:01:43 +0100 Subject: [PATCH] Silence deprecation warning with OpenGL. on Darwin, Mojabe has deprecated it in favor of Metal, here we silent the lengthy build warning. --- src/client/refresh/gl1/header/qgl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/refresh/gl1/header/qgl.h b/src/client/refresh/gl1/header/qgl.h index 150bc252..81f5ea47 100644 --- a/src/client/refresh/gl1/header/qgl.h +++ b/src/client/refresh/gl1/header/qgl.h @@ -34,6 +34,7 @@ #endif #if defined(__APPLE__) +#define GL_SILENCE_DEPRECATION #include #else #include