- Remove alext.h dependency and manually add the required macros
- Use ALC_DEFAULT_ALL_DEVICES_SPECIFIER instead of ALC_DEFAULT_DEVICE_SPECIFIER if extension exists
This commit is contained in:
1 parent
1b27ae23c1
commit
182b344818
2 files changed
+11
-3
No files matched your search
+7
-1
@@ -44,10 +44,16 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#else
|
||||
#include <AL/al.h>
|
||||
#include <AL/alc.h>
|
||||
#include <AL/alext.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Hack to enable compiling both on OpenAL SDK and OpenAL-soft. */
|
||||
#ifndef ALC_ENUMERATE_ALL_EXT
|
||||
# define ALC_ENUMERATE_ALL_EXT 1
|
||||
# define ALC_DEFAULT_ALL_DEVICES_SPECIFIER 0x1012
|
||||
# define ALC_ALL_DEVICES_SPECIFIER 0x1013
|
||||
#endif
|
||||
|
||||
#ifdef USE_OPENAL_DLOPEN
|
||||
extern LPALENABLE qalEnable;
|
||||
extern LPALDISABLE qalDisable;
|
||||
|
||||
Reference in new issue
Block a user