ソースを参照

Adjust OpenAL include paths to proper include paths

We add the subdirectory AL to the include paths, so our includes should be relative to that. Presumably it would previously work with the wrong paths because some other library would be there.
Bart van Strien 1 年間 前
コミット
daff7ef11f

+ 3 - 3
src/modules/audio/openal/Audio.h

@@ -50,9 +50,9 @@
 #include <OpenAL-Soft/al.h>
 #include <OpenAL-Soft/al.h>
 #endif
 #endif
 #else
 #else
-#include <AL/alc.h>
-#include <AL/al.h>
-#include <AL/alext.h>
+#include <alc.h>
+#include <al.h>
+#include <alext.h>
 #endif
 #endif
 
 
 namespace love
 namespace love

+ 3 - 3
src/modules/audio/openal/Effect.h

@@ -34,9 +34,9 @@
 #include <OpenAL-Soft/alext.h>
 #include <OpenAL-Soft/alext.h>
 #endif
 #endif
 #else
 #else
-#include <AL/alc.h>
-#include <AL/al.h>
-#include <AL/alext.h>
+#include <alc.h>
+#include <al.h>
+#include <alext.h>
 #endif
 #endif
 
 
 #include <vector>
 #include <vector>

+ 3 - 3
src/modules/audio/openal/Filter.h

@@ -34,9 +34,9 @@
 #include <OpenAL-Soft/alext.h>
 #include <OpenAL-Soft/alext.h>
 #endif
 #endif
 #else
 #else
-#include <AL/alc.h>
-#include <AL/al.h>
-#include <AL/alext.h>
+#include <alc.h>
+#include <al.h>
+#include <alext.h>
 #endif
 #endif
 
 
 #include <vector>
 #include <vector>

+ 3 - 3
src/modules/audio/openal/Pool.h

@@ -46,9 +46,9 @@
 #include <OpenAL-Soft/alext.h>
 #include <OpenAL-Soft/alext.h>
 #endif
 #endif
 #else
 #else
-#include <AL/alc.h>
-#include <AL/al.h>
-#include <AL/alext.h>
+#include <alc.h>
+#include <al.h>
+#include <alext.h>
 #endif
 #endif
 
 
 namespace love
 namespace love

+ 2 - 2
src/modules/audio/openal/RecordingDevice.h

@@ -32,8 +32,8 @@
 #include <OpenAL-Soft/al.h>
 #include <OpenAL-Soft/al.h>
 #endif
 #endif
 #else
 #else
-#include <AL/alc.h>
-#include <AL/al.h>
+#include <alc.h>
+#include <al.h>
 #endif
 #endif
 
 
 #include "audio/RecordingDevice.h"
 #include "audio/RecordingDevice.h"

+ 2 - 2
src/modules/audio/openal/Source.h

@@ -48,8 +48,8 @@
 #include <OpenAL-Soft/al.h>
 #include <OpenAL-Soft/al.h>
 #endif
 #endif
 #else
 #else
-#include <AL/alc.h>
-#include <AL/al.h>
+#include <alc.h>
+#include <al.h>
 #endif
 #endif
 
 
 namespace love
 namespace love