mirror of https://github.com/mpv-player/mpv
videotoolbox: silence OpenGL deprecation warnings
This commit is contained in:
parent
84adbd9d35
commit
c80757d782
|
@ -19,6 +19,10 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#ifndef GL_SILENCE_DEPRECATION
|
||||
#define GL_SILENCE_DEPRECATION
|
||||
#endif
|
||||
|
||||
#if !HAVE_MACOS_12_FEATURES
|
||||
#define kAudioObjectPropertyElementMain kAudioObjectPropertyElementMaster
|
||||
#endif
|
||||
|
|
|
@ -19,6 +19,8 @@
|
|||
|
||||
#include <assert.h>
|
||||
|
||||
#include "osdep/mac/compat.h"
|
||||
|
||||
#include <IOSurface/IOSurface.h>
|
||||
#include <CoreVideo/CoreVideo.h>
|
||||
#include <OpenGL/OpenGL.h>
|
||||
|
|
Loading…
Reference in New Issue