Browse Source

macOS: remove some compiler warnings

Sasha Szpakowski 1 year ago
parent
commit
be4a47d04f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/modules/graphics/metal/Graphics.mm

+ 1 - 0
src/modules/graphics/metal/Graphics.mm

@@ -33,6 +33,7 @@
 
 
 #ifdef LOVE_MACOS
 #ifdef LOVE_MACOS
 // Needed for the GPU dynamic switching hack below.
 // Needed for the GPU dynamic switching hack below.
+#define GL_SILENCE_DEPRECATION 1
 #import <Cocoa/Cocoa.h>
 #import <Cocoa/Cocoa.h>
 #endif
 #endif