LWJGL 3.1.6

Started by spasi, February 04, 2018, 18:14:05

Previous topic - Next topic

spasi

LWJGL 3.1.6 has been released!

Release notes (JSR 305 nullability annotations, more Java 9 improvements, all bindings updated to latest versions)
Download

mudlee

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?

spasi

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?

mudlee

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.


mudlee

OK, something went wrong with maven, it downloaded the jar with 0Kb. Cleared my .m2 folder and now it works, sorry.

MikOfClassX