Hi.
I'd like to create a basic LWJGL/BGFX example/template, if one (eg. me) wants to start a java game development with LWJGL and bgfx.
In this file I have a problem: https://github.com/LWJGL/lwjgl3-demos/blob/master/src/org/lwjgl/demo/bgfx/Demo.java (https://github.com/LWJGL/lwjgl3-demos/blob/master/src/org/lwjgl/demo/bgfx/Demo.java)
line 131: format = init.resolution().format();
.resolution returns a BGFXResolution that does not have format method.
Am I missing something?
The lwjgl3-demos repository always compiles against the very very latest LWJGL snapshot versions, which currently is 3.2.1-20181006.135819-4. It might be that you are using an earlier version in which the BGFX version was different.
Ah, yes, you were right. Using 3.2.1-SNAPSHOT fixes the problem.