From 69d44be069e150d6cfef1281e0d1d196e251bd80 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Sun, 4 Jul 2004 14:08:53 +0000 Subject: [PATCH] take out check on alcMakeContext again, the result type is differs on different platforms --- src/java/org/lwjgl/openal/AL.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/java/org/lwjgl/openal/AL.java b/src/java/org/lwjgl/openal/AL.java index df96c937..8ad7c80c 100644 --- a/src/java/org/lwjgl/openal/AL.java +++ b/src/java/org/lwjgl/openal/AL.java @@ -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();