Переглянути джерело

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>
 #endif
 #else
-#include <AL/alc.h>
-#include <AL/al.h>
-#include <AL/alext.h>
+#include <alc.h>
+#include <al.h>
+#include <alext.h>
 #endif
 
 namespace love

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

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

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

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

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

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

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

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

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

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