libgdx / box2dlights

Fork of box2dlights by Kalle Hamalainen
Apache License 2.0
257 stars 82 forks source link

FrameBuffer pixelformat creating issues after changes in LibGDX 1.9.7? #108

Closed Benjamin-Botten closed 6 years ago

Benjamin-Botten commented 6 years ago

Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: java.lang.NoSuchMethodError: com.badlogic.gdx.graphics.glutils.FrameBuffer.(Lcom/badlogic/gdx/graphics/Pixmap$Format;IIZ)V at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:133) Caused by: java.lang.NoSuchMethodError: com.badlogic.gdx.graphics.glutils.FrameBuffer.(Lcom/badlogic/gdx/graphics/Pixmap$Format;IIZ)V at box2dLight.LightMap.(LightMap.java:120) at box2dLight.RayHandler.resizeFBO(RayHandler.java:142) at box2dLight.RayHandler.(RayHandler.java:131)

Benjamin-Botten commented 6 years ago

Updating your gradle build to gdxVersion 1.9.8-SNAPSHOT fixes this particular issue. (Otherwise there's a 1.9.7 fix on another branch)