From f5236ab1865eb9456c95743cd6e5d9464bdb44ba Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 24 Jan 2018 19:25:15 -0800 Subject: Use more appropriate enum values for events --- OpenAL32/Include/alMain.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'OpenAL32') diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 4661b713..18dc32dd 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -68,13 +68,13 @@ AL_API void AL_APIENTRY alFlushMappedBufferSOFT(ALuint buffer, ALsizei offset, A #ifndef AL_SOFT_events #define AL_SOFT_events 1 -#define AL_EVENT_CALLBACK_FUNCTION_SOFT 0xffe0 -#define AL_EVENT_CALLBACK_USER_PARAM_SOFT 0xffe1 -#define AL_EVENT_TYPE_BUFFER_COMPLETED_SOFT 0xffe2 -#define AL_EVENT_TYPE_SOURCE_STATE_CHANGED_SOFT 0xffe3 -#define AL_EVENT_TYPE_ERROR_SOFT 0xffe4 -#define AL_EVENT_TYPE_PERFORMANCE_SOFT 0xffe5 -#define AL_EVENT_TYPE_DEPRECATED_SOFT 0xffe6 +#define AL_EVENT_CALLBACK_FUNCTION_SOFT 0x1220 +#define AL_EVENT_CALLBACK_USER_PARAM_SOFT 0x1221 +#define AL_EVENT_TYPE_BUFFER_COMPLETED_SOFT 0x1222 +#define AL_EVENT_TYPE_SOURCE_STATE_CHANGED_SOFT 0x1223 +#define AL_EVENT_TYPE_ERROR_SOFT 0x1224 +#define AL_EVENT_TYPE_PERFORMANCE_SOFT 0x1225 +#define AL_EVENT_TYPE_DEPRECATED_SOFT 0x1226 typedef void (AL_APIENTRY*ALEVENTPROCSOFT)(ALenum eventType, ALuint object, ALuint param, ALsizei length, const ALchar *message, void *userParam); -- cgit v1.2.3