From 2bb1e7f3c98fd5f8532cdd5e475176e5615fc1bc Mon Sep 17 00:00:00 2001 From: Dmitry Anisimov Date: Fri, 26 Feb 2021 09:58:52 +0100 Subject: [PATCH] avoid warnings due to the deprecated opengl on apple --- Surface_mesher/demo/Surface_mesher/volume.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Surface_mesher/demo/Surface_mesher/volume.cpp b/Surface_mesher/demo/Surface_mesher/volume.cpp index 62424155ccd..3ccb01681c5 100644 --- a/Surface_mesher/demo/Surface_mesher/volume.cpp +++ b/Surface_mesher/demo/Surface_mesher/volume.cpp @@ -1,3 +1,6 @@ +#ifdef __APPLE__ +#define GL_SILENCE_DEPRECATION +#endif #include #include "volume.h"