take out check on alcMakeContext again, the result type is differs on different platforms

This commit is contained in:
Elias Naur 2004-07-04 14:08:53 +00:00
parent 0ae705b7b0
commit 69d44be069
1 changed files with 1 additions and 2 deletions

View File

@ -189,8 +189,7 @@ public abstract class AL {
context = ALC.alcCreateContext(device.device,
ALCcontext.createAttributeList(contextFrequency, contextRefresh, contextSynchronized));
}
if (ALC.alcMakeContextCurrent(context.context) != 0)
throw new LWJGLException("Could not make ALC context current");
ALC.alcMakeContextCurrent(context.context);
created = true;
} catch (LWJGLException e) {
destroy();