LWJGL / lwjgl3-demos

Demo suite for LWJGL 3
BSD 3-Clause "New" or "Revised" License
351 stars 89 forks source link

BGFX demos don't work anymore with LWJGL 3.1.3-SNAPSHOT #14

Closed httpdigest closed 7 years ago

httpdigest commented 7 years ago

They now only show the background color and sometimes even crash when closing the window. This is likely just because of an API change in BGFX (even though the demos don't seem to be directly affected by it - no compile error). Tested with JDK 8 b131 on Windows 7 x64.

Example crash log:

Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [bgfx.dll+0x6c62]
C  0x0000000002af7f74

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.lwjgl.system.JNI.invokeV(JS)V+0
j  org.lwjgl.bgfx.BGFX.bgfx_destroy_program(S)V+6
j  org.lwjgl.demo.bgfx.Metaballs.dispose()V+25
j  org.lwjgl.demo.bgfx.Demo.run([Ljava/lang/String;)V+518
j  org.lwjgl.demo.bgfx.Metaballs.main([Ljava/lang/String;)V+8
v  ~StubRoutines::call_stub

Everything works fine with 3.1.2-SNAPSHOT.