forked from Mirrors/openclonk
Compare commits
1 Commits
master
...
alut-inclu
Author | SHA1 | Date |
---|---|---|
Lukas Werling | fa78b98312 |
|
@ -30,7 +30,7 @@
|
||||||
// This is an ugly hack to make FreeALUT not dllimport everything.
|
// This is an ugly hack to make FreeALUT not dllimport everything.
|
||||||
#define _XBOX
|
#define _XBOX
|
||||||
#endif
|
#endif
|
||||||
#include <alut.h>
|
#include <AL/alut.h>
|
||||||
#undef _XBOX
|
#undef _XBOX
|
||||||
#endif
|
#endif
|
||||||
#define alErrorCheck(X) do { X; { ALenum err = alGetError(); if (err) LogF("al error: %s (%x)", #X, err); } } while (0)
|
#define alErrorCheck(X) do { X; { ALenum err = alGetError(); if (err) LogF("al error: %s (%x)", #X, err); } } while (0)
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
// This is an ugly hack to make FreeALUT not dllimport everything.
|
// This is an ugly hack to make FreeALUT not dllimport everything.
|
||||||
# define _XBOX
|
# define _XBOX
|
||||||
# endif
|
# endif
|
||||||
# include <alut.h>
|
# include <AL/alut.h>
|
||||||
# undef _XBOX
|
# undef _XBOX
|
||||||
# if defined(__APPLE__)
|
# if defined(__APPLE__)
|
||||||
# import <CoreFoundation/CoreFoundation.h>
|
# import <CoreFoundation/CoreFoundation.h>
|
||||||
|
|
Loading…
Reference in New Issue