aboutsummaryrefslogtreecommitdiffstats
path: root/include/AL/alext.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-03-09 09:28:22 -0800
committerChris Robinson <[email protected]>2010-03-09 09:28:22 -0800
commit98f4f5a4f014817f8f84d4570c79da426c348516 (patch)
tree1d3a989f805ab96c7c3b3397eccdc82948529454 /include/AL/alext.h
parent8feb089f5ca9166810cb2655356db2006cd22496 (diff)
Add EFX types and enums to alext.h
The types and enums are in efx.h, which is included by alext.h. It's done this way because EFX has a lot if definitions which would polute alext.h
Diffstat (limited to 'include/AL/alext.h')
-rw-r--r--include/AL/alext.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/AL/alext.h b/include/AL/alext.h
index 26675736..09f388ec 100644
--- a/include/AL/alext.h
+++ b/include/AL/alext.h
@@ -145,6 +145,11 @@ typedef ALvoid* (AL_APIENTRY*PFNALMAPDATABUFFEREXTPROC)(ALuint uiBuffer, ALuint
typedef ALvoid (AL_APIENTRY*PFNALUNMAPDATABUFFEREXTPROC)(ALuint uiBuffer);
#endif
+#ifndef ALC_EXT_EFX
+#define ALC_EXT_EFX 1
+#include "efx.h"
+#endif
+
#ifndef ALC_EXT_disconnect
#define ALC_EXT_disconnect 1
#define ALC_CONNECTED 0x313