mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-10-31 15:35:21 +01:00 
			
		
		
		
	Move video_driver default selection to runtime
This commit is contained in:
		| @@ -171,7 +171,7 @@ local function formspec(tabview, name, tabdata) | ||||
| 				.. getSettingIndex.Antialiasing() .. "]" .. | ||||
| 		"box[8,0;3.75,4.5;#999999]" | ||||
|  | ||||
| 	local video_driver = core.settings:get("video_driver") | ||||
| 	local video_driver = core.get_active_driver() | ||||
| 	local shaders_enabled = core.settings:get_bool("enable_shaders") | ||||
| 	if video_driver == "opengl" then | ||||
| 		tab_string = tab_string .. | ||||
|   | ||||
| @@ -1664,7 +1664,7 @@ shader_path (Shader path) path | ||||
| #    Note: A restart is required after changing this! | ||||
| #    OpenGL is the default for desktop, and OGLES2 for Android. | ||||
| #    Shaders are supported by OpenGL and OGLES2 (experimental). | ||||
| video_driver (Video driver) enum opengl opengl,ogles1,ogles2 | ||||
| video_driver (Video driver) enum  opengl,ogles1,ogles2, | ||||
|  | ||||
| #    Distance in nodes at which transparency depth sorting is enabled | ||||
| #    Use this to limit the performance impact of transparency depth sorting | ||||
|   | ||||
		Reference in New Issue
	
	Block a user