From c4b878ccb3af8019573687b6481f4e62e7992a60 Mon Sep 17 00:00:00 2001 From: Septian Date: Thu, 13 Jul 2023 16:54:45 +0700 Subject: [PATCH] Fix Copy System Info to copy the correct rendering driver for the Compatibility rendering method --- editor/editor_node.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 358356adf560..d61c5bb922de 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -4407,17 +4407,18 @@ String EditorNode::_get_system_info() const { const int processor_count = OS::get_singleton()->get_processor_count(); // Prettify - if (driver_name == "vulkan") { - driver_name = "Vulkan"; - } else if (driver_name == "opengl3") { - driver_name = "GLES3"; - } if (rendering_method == "forward_plus") { rendering_method = "Forward+"; } else if (rendering_method == "mobile") { rendering_method = "Mobile"; } else if (rendering_method == "gl_compatibility") { rendering_method = "Compatibility"; + driver_name = GLOBAL_GET("rendering/gl_compatibility/driver"); + } + if (driver_name == "vulkan") { + driver_name = "Vulkan"; + } else if (driver_name == "opengl3") { + driver_name = "GLES3"; } // Join info.