Hello Guest

[SOLVED] Is bgfx example broken?

  • 2 Replies
  • 3700 Views
[SOLVED] Is bgfx example broken?
« on: October 08, 2018, 13:13:16 »
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
line 131:
Code: [Select]
format = init.resolution().format();
.resolution returns a BGFXResolution that does not have format method.

Am I missing something?
« Last Edit: October 08, 2018, 13:25:22 by mudlee »

*

Offline KaiHH

  • ****
  • 334
Re: Is bgfx example broken?
« Reply #1 on: October 08, 2018, 13:22:02 »
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.

Re: Is bgfx example broken?
« Reply #2 on: October 08, 2018, 13:25:08 »
Ah, yes, you were right. Using 3.2.1-SNAPSHOT fixes the problem.