AGL: Silence OpenGL deprecation warnings

This commit is contained in:
OatmealDome 2021-07-06 14:31:01 -04:00
parent 4d944342fc
commit 8c728945fb
1 changed files with 3 additions and 0 deletions

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