videotoolbox: silence OpenGL deprecation warnings

This commit is contained in:
der richter committed 2024-11-05 18:34:15 +01:00
1 parent 84adbd9d35
commit c80757d782
2 files changed
+6

No files matched your search

+4
View File
@@ -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
+2
View File
@@ -19,6 +19,8 @@
#include <assert.h>
#include "osdep/mac/compat.h"
#include <IOSurface/IOSurface.h>
#include <CoreVideo/CoreVideo.h>
#include <OpenGL/OpenGL.h>