1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-17 10:25:21 +02: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",
}