AGL: Silence OpenGL deprecation warnings

This commit is contained in:
OatmealDome committed 2021-07-06 14:31:01 -04:00
1 parent 4d944342fc
commit 8c728945fb
1 file changed
+3
+3
View File
@@ -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 <AppKit/AppKit.h>
#else