diff options
author | Juan Linietsky <juan@godotengine.org> | 2020-02-12 11:45:40 -0300 |
---|---|---|
committer | Juan Linietsky <juan@godotengine.org> | 2020-02-12 11:45:40 -0300 |
commit | 525c40a488c07ac072469cf9a694de77672d27bc (patch) | |
tree | 64b6ddf2dbac2820621983d1784f3a8be0d0c9ce | |
parent | 7d3954a665bec7b1a5de817318d9092feab4d294 (diff) |
Force vulkan driver until OpenGL is implemented
-rw-r--r-- | platform/x11/os_x11.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp index 338194fcae..1fd91ec3c1 100644 --- a/platform/x11/os_x11.cpp +++ b/platform/x11/os_x11.cpp @@ -240,6 +240,11 @@ Error OS_X11::initialize(const VideoMode &p_desired, int p_video_driver, int p_a //!!!!!!!!!!!!!!!!!!!!!!!!!! //TODO - do Vulkan and GLES2 support checks, driver selection and fallback video_driver_index = p_video_driver; +#ifndef _MSC_VER +#warning Forcing vulkan video driver because OpenGL not implemented yet +#endif + video_driver_index = VIDEO_DRIVER_VULKAN; + print_verbose("Driver: " + String(get_video_driver_name(video_driver_index)) + " [" + itos(video_driver_index) + "]"); //!!!!!!!!!!!!!!!!!!!!!!!!!! |