Closed mlauss2 closed 2 months ago
editor needs more imgui fixing
I fixed up the non-opening modal windows in the editor.
I've also now tested this successfully on Windows as well.
I've split the 2 patches into separate PRs (with #421 to start)
I don't have any specific attachment to GLEW (other than using it in several projects), so this seems fine. I will patch it in after the next release.
Drop GLEW in favor of GLAD-generated built-in loader.
The GLAD loader is GL4.6, while TFE's minimum is still GL3.3; the Anisotropy stuff, which is core GL4.5, has been wrapped around availability of EXT_texture_filter_anisotropic (which most GL2 drivers support).
This PR also updates ImGUI to version 1.90.9 because after the current in-tree 1.72 it also dropped GLEW.
This should also fix #395 which was caused by TFE explicitly linking to an OpenGL library, which, after this PR, is no longer necessary.
After applying this PR, the dependencies change to:
i.e. no explicit dependency on OpenGL and windowing system, just SDL2.
Another nice sideeffect at least on Linux is that "zink" (OpenGL over Vulkan) also works now: Performance on my radeon is about 66% of the direct opengl path.