updated to ALC10 instead of ALC

This commit is contained in:
Brian Matzon 2007-04-19 22:23:40 +00:00
parent 54eefcb876
commit 3b5064f229
1 changed files with 3 additions and 3 deletions

View File

@ -45,9 +45,9 @@ public final class Util {
}
public static void checkALCError() {
int err = ALC.alcGetError();
if (err != ALC.ALC_NO_ERROR)
throw new OpenALException(ALC.alcGetString(err));
int err = ALC10.alcGetError(AL.getDevice());
if (err != ALC10.ALC_NO_ERROR)
throw new OpenALException(ALC10.alcGetString(AL.getDevice(), err));
}
public static void checkALError() {