Skip to content

JOGL update

Pazaz requested to merge Pazaz/2009scape-client:jogl-update into master

This upgrades JOGL from god-knows-what 1.x version (2008-2009), to the latest 2.4.0 rc (built in 2021).

It fixes various OpenGL context bugs and gives us natives for more platforms (even android, technically).
I also renamed all of the OpenGL constants.

Notes:

  • nvidia's propietary driver on linux fails to use sampling modes, this is a known issue for more than just JOGL and happens on both 470 and 510. I have a warning in the console if you're affected and your AA level is > 0. You can force AA in your driver settings. Nouvaeu is fine.
  • macOS 12 + Java 8 has some illegal reflection warnings, and even if you get past that (some cli params), still doesn't work: "BackingLayerHost w/ Unknown Handle". If you're running macOS from a few years ago you have a good shot at it working, I think it's changes from Apple that broke it. Universal macOS natives are included so it isn't restricted to PPC anymore.

Merge request reports