mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-21 06:46:46 -04:00
Merge branch 'vulkan-software' into 'master'
Draft: render/vulkan: add support for software rendering See merge request wlroots/wlroots!3440
This commit is contained in:
commit
ea2a22d4b4
6 changed files with 215 additions and 26 deletions
|
|
@ -284,7 +284,7 @@ struct wlr_renderer *renderer_autocreate_with_drm_fd(int drm_fd) {
|
|||
#endif
|
||||
#if WLR_HAS_VULKAN_RENDERER
|
||||
if (strcmp(name, "vulkan") == 0) {
|
||||
return wlr_vk_renderer_create_with_drm_fd(drm_fd);
|
||||
return wlr_vk_renderer_create_with_drm_fd(-1);
|
||||
}
|
||||
#endif
|
||||
if (strcmp(name, "pixman") == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue