Force vulkan driver until OpenGL is implemented

This commit is contained in:
Juan Linietsky 2020-02-12 11:45:40 -03:00
parent 7d3954a665
commit 525c40a488
1 changed files with 5 additions and 0 deletions

View File

@ -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) + "]");
//!!!!!!!!!!!!!!!!!!!!!!!!!!