lwjgl3ify

lwjgl3ify

1.6k Downloads

[Crash] Version 1.1.2 crashes with DragonAPI

FalsePattern opened this issue ยท 2 comments

commented

Mod list:

  • GTNHMixins 2.1.11
  • lwjgl3ify 1.1.2
  • ChromatiCraft V31b
  • DragonAPI V31b

It seems like lwjgl3ify breaks Reika's glsl shader loading code.

fml-client-latest.log

commented

Looks like Reika is using the wrong opengl api to get shader linking status:
https://github.com/ReikaKalseki/DragonAPI/blob/master/IO/Shaders/ShaderProgram.java#L391-L395 - here the get calls must be glGetProgrami not glGetShaderi, because they operate on the linked program and not individual shaders. See https://docs.gl/gl2/glLinkProgram for reference. Because it seems Reika is still updating mods, it'd be better to get it fixed upstream than me working around the issue.

commented

Fixed in recent DragonAPI source updates, the next build should work when that gets released