FrodeSolheim / fs-uae

Cross-platform Amiga emulator with a slight focus on gaming, but also with solid support for productivity apps including just-in-time (JIT) compilation.
https://fs-uae.net/
GNU General Public License v2.0
472 stars 95 forks source link

[FR] Support for vendor-neutral MESA OpenGL #271

Open vanfanel opened 3 years ago

vanfanel commented 3 years ago

Hi there,

Currently, the configure script fails to detect modern OpenGL implementation using GLVND. It's as simple as using -lOpenGL instead of -lGL.

GLVND is the modern OpenGL implementation, which is vendor-gnostic unlike GLX which is X11-only.

FrodeSolheim commented 3 years ago

Things to figure out:

vanfanel commented 3 years ago

I would go for an --enable option or a fallback. It's pretty standard nowadays, and the way to go WRT OpenGL after the X11 times, but -lGL should still be the default.

FrodeSolheim commented 2 years ago

Implemented as a fallback in https://github.com/FrodeSolheim/fs-uae/commit/b0bd935caffa1bba9bf5df77633698dd6bf4ba15. Will investigate some more about libOpenGL later.