Hello Guest

LWJGL 3.1.6

  • 5 Replies
  • 2683 Views
*

Offline spasi

  • *****
  • 2053
    • WebHotelier
LWJGL 3.1.6
« on: February 04, 2018, 18:14:05 »
LWJGL 3.1.6 has been released!

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

Re: LWJGL 3.1.6
« Reply #1 on: February 15, 2018, 15:30:19 »
Hi.

I use the MemoryStack class like this:
Code: [Select]
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?

*

Offline spasi

  • *****
  • 2053
    • WebHotelier
Re: LWJGL 3.1.6
« Reply #2 on: February 15, 2018, 15:34:38 »
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?

Re: LWJGL 3.1.6
« Reply #3 on: February 15, 2018, 15:41:41 »
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.


Re: LWJGL 3.1.6
« Reply #4 on: February 15, 2018, 15:47:34 »
OK, something went wrong with maven, it downloaded the jar with 0Kb. Cleared my .m2 folder and now it works, sorry.
« Last Edit: February 15, 2018, 15:50:32 by mudlee »

Re: LWJGL 3.1.6
« Reply #5 on: June 27, 2018, 07:08:18 »
Awesome job Spasi!