summaryrefslogtreecommitdiff
path: root/core/os/os.cpp
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2019-07-12 16:18:30 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2020-02-11 11:57:34 +0100
commitb456bfad5cee3922f55621bf7c133cc67337636a (patch)
treed3c77c49894591ea67dac3ad1551e9f36206b9c1 /core/os/os.cpp
parenteb48be51dbe97aa4fbbbe0d0ebd8a98bee6b263e (diff)
Add runtime GLES2 / Vulkan context selection.
Diffstat (limited to 'core/os/os.cpp')
-rw-r--r--core/os/os.cpp6
1 files changed, 2 insertions, 4 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";
}
}