mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-25 06:44:59 +00:00
AGL: Silence OpenGL deprecation warnings
This commit is contained in:
parent
4d944342fc
commit
8c728945fb
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,9 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
// This define will silence all "OpenGL is deprecated, use Metal" warnings.
|
||||||
|
#define GL_SILENCE_DEPRECATION 1
|
||||||
|
|
||||||
#if defined(__APPLE__) && defined(__OBJC__)
|
#if defined(__APPLE__) && defined(__OBJC__)
|
||||||
#import <AppKit/AppKit.h>
|
#import <AppKit/AppKit.h>
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Reference in a new issue