Skip to content

Commit

Permalink
Fix return type of alcCloseDevice
Browse files Browse the repository at this point in the history
  • Loading branch information
kappa-maintainer committed Jan 25, 2024
1 parent 8860cd0 commit 9e04899
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/lwjgl/openal/ALC10.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ public static ALCcontext alcCreateContext(ALCdevice device, java.nio.IntBuffer a
return alcContext;
}

public static void alcCloseDevice(ALCdevice alCdevice) {
org.lwjgl3.openal.ALC10.alcCloseDevice(alCdevice.device);
public static boolean alcCloseDevice(ALCdevice alCdevice) {
return org.lwjgl3.openal.ALC10.alcCloseDevice(alCdevice.device);
}

public static ALCcontext alcGetCurrentContext() {
Expand Down

0 comments on commit 9e04899

Please sign in to comment.