diff options
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r-- | editor/editor_node.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 32e6126225..a780228a95 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -167,10 +167,6 @@ #include "modules/modules_enabled.gen.h" // For gdscript, mono. -#if defined(GLES3_ENABLED) -#include "drivers/gles3/rasterizer_gles3.h" -#endif - EditorNode *EditorNode::singleton = nullptr; static const String EDITOR_NODE_CONFIG_SECTION = "EditorNode"; @@ -5062,18 +5058,16 @@ String EditorNode::_get_system_info() const { driver_name = "Vulkan"; } else if (driver_name == "d3d12") { driver_name = "Direct3D 12"; -#if defined(GLES3_ENABLED) } else if (driver_name == "opengl3_angle") { driver_name = "OpenGL ES 3/ANGLE"; } else if (driver_name == "opengl3_es") { driver_name = "OpenGL ES 3"; } else if (driver_name == "opengl3") { - if (RasterizerGLES3::is_gles_over_gl()) { + if (OS::get_singleton()->get_gles_over_gl()) { driver_name = "OpenGL 3"; } else { driver_name = "OpenGL ES 3"; } -#endif } else if (driver_name == "metal") { driver_name = "Metal"; } |