diff options
author | Simon Ser <contact@emersion.fr> | 2022-10-01 17:57:58 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-10-01 18:01:57 +0200 |
commit | db08004c231d54a77def8d97480fcc174788827f (patch) | |
tree | a70cb29fe707dcba0600fc4fb614e25f4332b332 /render | |
parent | e40d492b78fb6f6501dcab1fab2590edc8baa713 (diff) |
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: 8bd7170fd95a ("Use env helpers")
Diffstat (limited to 'render')
-rw-r--r-- | render/wlr_renderer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/render/wlr_renderer.c b/render/wlr_renderer.c index 25a281cb..931b07bf 100644 --- a/render/wlr_renderer.c +++ b/render/wlr_renderer.c @@ -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 { |