mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-01-10 10:49:57 +01:00
fixed resource path issue
This commit is contained in:
parent
39553cba95
commit
fb81ac26ec
|
|
@ -290,7 +290,7 @@ public final class EFX10Test {
|
|||
// Create a source and buffer audio data
|
||||
final int source = AL10.alGenSources();
|
||||
final int buffer = AL10.alGenBuffers();
|
||||
WaveData waveFile = WaveData.create(WaveData.class.getClassLoader().getResourceAsStream("Footsteps.wav"));
|
||||
WaveData waveFile = WaveData.create("Footsteps.wav");
|
||||
if (waveFile == null) {
|
||||
System.out.println("Failed to load Footsteps.wav! Skipping playback test.");
|
||||
AL.destroy();
|
||||
|
|
|
|||
Loading…
Reference in a new issue