Skip to content

Commit

Permalink
Bruh moment.
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSVK12 committed Dec 9, 2024
1 parent ead11fe commit a2f0583
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package com.github.zarzelcow.legacylwjgl3;

import kotlin.jvm.internal.Intrinsics;
import org.lwjgl.LWJGLException;
import org.lwjgl.openal.ALC;
import org.lwjgl.openal.ALC10;
import org.lwjgl.openal.ALCCapabilities;
import org.lwjgl.system.MemoryStack;

import java.nio.IntBuffer;
import java.util.Objects;

import static org.lwjgl.openal.AL.createCapabilities;

Expand Down Expand Up @@ -49,7 +49,7 @@ private static void init(String deviceArguments, int contextFrequency, int conte
MemoryStack stack = MemoryStack.stackPush();
long var8 = _devicePtr;
int var10003 = contextSynchronized ? 1 : 0;
Intrinsics.checkNotNullExpressionValue(stack, "stack");
Objects.requireNonNull(stack,"stack");
_contextPtr = ALC10.alcCreateContext(var8, createAttributeList(contextFrequency, contextRefresh, var10003, stack));
stack.close();
}
Expand Down

0 comments on commit a2f0583

Please sign in to comment.