Hi.
I use the MemoryStack class like this:
try (MemoryStack stack = MemoryStack.stackPush()) {
FloatBuffer buffer = stack.mallocFloat(16);
value.get(buffer);
GL41.glProgramUniformMatrix4fv(programID, uniforms.get(uniformName), false, buffer);
}
But now it's not available at: org.lwjgl.system.MemoryStack
What is the alternative solution?