LWJGL 3.1.6 has been released!
Release notes (https://github.com/LWJGL/lwjgl3/blob/master/doc/notes/3.1.6.md) (JSR 305 nullability annotations, more Java 9 improvements, all bindings updated to latest versions)
Download (https://www.lwjgl.org/download)
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?
Nothing changed wrt MemoryStack in 3.1.6, it's still available (and there are no plan to change that). Have you checked that your classpath/modulepath includes lwjgl-core?
Yes, I've checked. I use maven with Java 8, in IntelliJ Idea.
I deleted all the caches, the project itself, and started from scratch.
Attached my pom.xml and the error on a screenshot.
OK, something went wrong with maven, it downloaded the jar with 0Kb. Cleared my .m2 folder and now it works, sorry.
Awesome job Spasi!