projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
439d400
)
older openal drivers miss alcGetString, several win32 people seem to have such an...
author
Matthias Braun
<matze@braunis.de>
Tue, 16 Jan 2007 15:45:35 +0000
(15:45 +0000)
committer
Matthias Braun
<matze@braunis.de>
Tue, 16 Jan 2007 15:45:35 +0000
(15:45 +0000)
SVN-Revision: 4581
src/audio/sound_manager.cpp
patch
|
blob
|
history
diff --git
a/src/audio/sound_manager.cpp
b/src/audio/sound_manager.cpp
index
b3eb731
..
fd3320e
100644
(file)
--- a/
src/audio/sound_manager.cpp
+++ b/
src/audio/sound_manager.cpp
@@
-35,6
+35,16
@@
#include "log.hpp"
#include "timer.hpp"
+#ifndef DEBUG
+ /** Older openal versions often miss this function and it isn't that vital for
+ * supertux...
+ */
+#ifdef alcGetString
+#undef alcGetString
+#endif
+#define alcGetString(x,y) ""
+#endif
+
SoundManager* sound_manager = 0;
SoundManager::SoundManager()