mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 06:25:46 +00:00
take out check on alcMakeContext again, the result type is differs on different platforms
This commit is contained in:
parent
0ae705b7b0
commit
69d44be069
1 changed files with 1 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue