videotoolbox: silence OpenGL deprecation warnings

This commit is contained in:
der richter 2024-10-30 22:42:26 +01:00
parent 84adbd9d35
commit c80757d782
2 changed files with 6 additions and 0 deletions

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

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>