mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-25 16:42:26 +00:00
render: don't automatically fall back to Vulkan
The Vulkan renderer is still experimental. If GL fails, we don't
want to automatically fall back to it by default.
Fixes: 8bd7170fd9
("Use env helpers")
This commit is contained in:
parent
e40d492b78
commit
db08004c23
@ -302,7 +302,7 @@ struct wlr_renderer *renderer_autocreate_with_drm_fd(int drm_fd) {
|
||||
#endif
|
||||
|
||||
#if WLR_HAS_VULKAN_RENDERER
|
||||
if (!renderer && (is_auto || strcmp(renderer_name, "vulkan") == 0)) {
|
||||
if (!renderer && strcmp(renderer_name, "vulkan") == 0) {
|
||||
if (drm_fd < 0) {
|
||||
log_creation_failure(is_auto, "Cannot create Vulkan renderer: no DRM FD available");
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user