From 8c728945fba74caa62d7ee81b523074c16300719 Mon Sep 17 00:00:00 2001 From: OatmealDome Date: Tue, 6 Jul 2021 14:31:01 -0400 Subject: [PATCH] AGL: Silence OpenGL deprecation warnings --- Source/Core/Common/GL/GLInterface/AGL.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Core/Common/GL/GLInterface/AGL.h b/Source/Core/Common/GL/GLInterface/AGL.h index cb3b03974e..dda9fee0e3 100644 --- a/Source/Core/Common/GL/GLInterface/AGL.h +++ b/Source/Core/Common/GL/GLInterface/AGL.h @@ -3,6 +3,9 @@ #pragma once +// This define will silence all "OpenGL is deprecated, use Metal" warnings. +#define GL_SILENCE_DEPRECATION 1 + #if defined(__APPLE__) && defined(__OBJC__) #import #else