tonihele / OpenKeeper

Dungeon Keeper II remake
GNU General Public License v3.0
428 stars 41 forks source link

Feature/graphics options #456

Closed tonihele closed 1 month ago

tonihele commented 1 month ago

Fixes two things.

I installed a fresh system and saw that the gamma correction is on by default, came with some jME upgrade. So unless you have old settings, your videos and graphics are a bit burnt. Too bright. Turn gamma off by default.

The current way of getting display modes is really bugged. Especially on Linux, it is almost impossible to get correct readings. Also with MacOS and LWJGL 3 this poses an actual bug that causes freeze. We now query the display modes primarily from LWJGL (2 & 3 both supported), this should give much better accuracy than the current AWT (used as a fallback only with this PR).

Trass3r commented 1 month ago

Also good for #218 👍🏽