Closed Frosty-J closed 3 weeks ago
I found the reason:
https://stackoverflow.com/questions/61267495/exception-in-thread-main-java-lang-nosuchmethoderror-java-nio-bytebuffer-flip
We have to find now where to use Buffer
instead of ByteBuffer
I remember we already had that error before: libgdx/libgdx#6331
best is to use the release option like it's done in libgdx https://github.com/libgdx/libgdx/blob/master/gdx/build.gradle#L19 instead of doing the same mistake we alredy discussed : https://github.com/libgdx/libgdx/pull/6331
I agree. I didn't have much luck when I tried the cast... not sure why, actually.
options.release
works well. I don't think we have a versions.java
in gdx-video, so I hardcoded it when testing.
Added in daafede38fc86db023f0d01d56a42f7fc82f8f3e
I think there was a change to
ByteBuffer
sometime after 8, with or before 11. My game just repeatedly spews the below if I run it on a Java 8 JRE. Was under the impression gdx-video should be good for down to 7. I'll do some troubleshooting now, will probably just use a new JRE - jam time is running out!(line numbers might be wrong since this is my own build of it)