1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-21 00:45:23 +01:00

Reapply "Prefer GL3 driver over legacy GL driver"

This reverts commit 0fa56a9f7c.
This commit is contained in:
sfan5
2025-11-14 20:04:54 +01:00
parent 37c3c89b03
commit bf01cdf823
6 changed files with 15 additions and 19 deletions

View File

@@ -12,12 +12,12 @@ The build system is CMake.
The following libraries are required to be installed:
* zlib, libPNG, libJPEG
* OpenGL
* or on mobile: OpenGL ES (can be optionally enabled on desktop too)
* OpenGL or OpenGL ES
* a headless build is possible, but not very useful
* SDL2 or SDL3 (see below)
Aside from standard search options (`ZLIB_INCLUDE_DIR`, `ZLIB_LIBRARY`, ...) the following options are available:
* `ENABLE_OPENGL` - Enable OpenGL driver
* `ENABLE_OPENGL` - Enable legacy OpenGL driver
* `ENABLE_OPENGL3` - Enable OpenGL 3+ driver
* `ENABLE_GLES2` - Enable OpenGL ES 2+ driver
* `USE_SDL3` (default: `OFF`) - Use the SDL3 device instead of SDL2 (**experimental**)