1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00

Disable SDL2 for 5.9.0 (#14944)

See #14545 and https://forum.minetest.net/viewtopic.php?t=30864
This commit is contained in:
rubenwardy 2024-08-11 13:27:41 +01:00 committed by GitHub
parent 62a8c5ca32
commit ebaf3c8d77
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 13 additions and 20 deletions

View file

@ -22,7 +22,7 @@ Aside from standard search options (`ZLIB_INCLUDE_DIR`, `ZLIB_LIBRARY`, ...) the
* `ENABLE_OPENGL3` (default: `OFF`) - Enable OpenGL 3+ driver
* `ENABLE_GLES1` - Enable OpenGL ES driver, legacy
* `ENABLE_GLES2` - Enable OpenGL ES 2+ driver
* `USE_SDL2` (default: platform-dependent, usually `ON`) - Use SDL2 instead of older native device code
* `USE_SDL2` (default: ON for Android, OFF for other platforms) - Use SDL2 instead of older native device code
However, IrrlichtMt cannot be built or installed separately.

View file

@ -1,6 +1,6 @@
# When enabling SDL2 by default on macOS, don't forget to change
# "NSHighResolutionCapable" to true in "Info.plist".
if(NOT APPLE)
if(ANDROID)
set(DEFAULT_SDL2 ON)
endif()