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

Support OpenGL 3 (#13321)

This commit is contained in:
Vitaliy 2024-01-16 23:09:18 +03:00 committed by GitHub
parent 9cca12ff0b
commit 8093044f07
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 26 additions and 22 deletions

View file

@ -312,7 +312,7 @@ local function check_requirements(name, requires)
end
local video_driver = core.get_active_driver()
local shaders_support = video_driver == "opengl" or video_driver == "ogles2"
local shaders_support = video_driver == "opengl" or video_driver == "opengl3" or video_driver == "ogles2"
local special = {
android = PLATFORM == "Android",
desktop = PLATFORM ~= "Android",