summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/os/os.cpp6
-rw-r--r--core/os/os.h3
2 files changed, 3 insertions, 6 deletions
diff --git a/core/os/os.cpp b/core/os/os.cpp
index 0ce1151601..13be4a5c37 100644
--- a/core/os/os.cpp
+++ b/core/os/os.cpp
@@ -689,13 +689,11 @@ int OS::get_video_driver_count() const {
const char *OS::get_video_driver_name(int p_driver) const {
switch (p_driver) {
- case VIDEO_DRIVER_VULKAN:
- return "Vulkan";
case VIDEO_DRIVER_GLES2:
return "GLES2";
- case VIDEO_DRIVER_GLES3:
+ case VIDEO_DRIVER_VULKAN:
default:
- return "GLES3";
+ return "Vulkan";
}
}
diff --git a/core/os/os.h b/core/os/os.h
index cd84b07de7..1bb910cb0d 100644
--- a/core/os/os.h
+++ b/core/os/os.h
@@ -181,9 +181,8 @@ public:
virtual void get_fullscreen_mode_list(List<VideoMode> *p_list, int p_screen = 0) const = 0;
enum VideoDriver {
- VIDEO_DRIVER_GLES3,
- VIDEO_DRIVER_GLES2,
VIDEO_DRIVER_VULKAN,
+ VIDEO_DRIVER_GLES2,
VIDEO_DRIVER_MAX,
};