Working example with LibGDX
Closed this issue · 2 comments
10urshin commented
Can we get a working example with LibGDX and LWJGL3 backend. I tried old example but imgui.impl.LwjglGL3 doesn't seems to exists anymore.
Sylvyrfysh commented
Looking at the code, you should just need to replace ImplGL3
with ImplBestGL
, and instead of ImplGL3.INSTANCE
, use new ImplBestGL()
.
10urshin commented
Looking at the code, you should just need to replace
ImplGL3
withImplBestGL
, and instead ofImplGL3.INSTANCE
, usenew ImplBestGL()
.
That and adding
implementation "org.lwjgl:lwjgl"
implementation "org.lwjgl:lwjgl-stb"
runtimeOnly "org.lwjgl:lwjgl::natives-windows"
runtimeOnly "org.lwjgl:lwjgl-stb::natives-windows"
to dependencies fixed it.