EventThread: Fix compilation with newer OpenAL headers

Should remove the local typedefs eventually.
This commit is contained in:
Amaryllis Kulla 2025-10-27 12:12:55 +01:00
parent 2e82b87972
commit de43f7da92

View file

@ -40,12 +40,12 @@
#include <string.h> #include <string.h>
typedef void (ALC_APIENTRY *LPALCDEVICEPAUSESOFT) (ALCdevice *device); typedef void (ALC_APIENTRY *_LPALCDEVICEPAUSESOFT) (ALCdevice *device);
typedef void (ALC_APIENTRY *LPALCDEVICERESUMESOFT) (ALCdevice *device); typedef void (ALC_APIENTRY *_LPALCDEVICERESUMESOFT) (ALCdevice *device);
#define AL_DEVICE_PAUSE_FUN \ #define AL_DEVICE_PAUSE_FUN \
AL_FUN(DevicePause, LPALCDEVICEPAUSESOFT) \ AL_FUN(DevicePause, _LPALCDEVICEPAUSESOFT) \
AL_FUN(DeviceResume, LPALCDEVICERESUMESOFT) AL_FUN(DeviceResume, _LPALCDEVICERESUMESOFT)
struct ALCFunctions struct ALCFunctions
{ {