1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Dynamic shadows: whitelist the 'opengl3' driver

This commit is contained in:
SmallJoker 2024-11-02 15:52:29 +01:00 committed by sfan5
parent 58dd42166d
commit 87ac32edea
2 changed files with 8 additions and 4 deletions

View file

@ -351,7 +351,7 @@ local function check_requirements(name, requires)
-- be used, so we show settings for both.
touchscreen = touch_support and (touch_controls == "auto" or core.is_yes(touch_controls)),
keyboard_mouse = not touch_support or (touch_controls == "auto" or not core.is_yes(touch_controls)),
opengl = video_driver == "opengl",
opengl = (video_driver == "opengl" or video_driver == "opengl3"),
gles = video_driver:sub(1, 5) == "ogles",
}