From be4a47d04f9976b7fb48ceb797eba0822d7e303b Mon Sep 17 00:00:00 2001 From: Sasha Szpakowski Date: Mon, 15 Jul 2024 20:56:48 -0300 Subject: [PATCH] macOS: remove some compiler warnings --- src/modules/graphics/metal/Graphics.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/graphics/metal/Graphics.mm b/src/modules/graphics/metal/Graphics.mm index 1062b87bb..0ffab0f86 100644 --- a/src/modules/graphics/metal/Graphics.mm +++ b/src/modules/graphics/metal/Graphics.mm @@ -33,6 +33,7 @@ #ifdef LOVE_MACOS // Needed for the GPU dynamic switching hack below. +#define GL_SILENCE_DEPRECATION 1 #import #endif