mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
render: drop trailing whitespace
This commit is contained in:
parent
c153ae3c5d
commit
bcc6a5832f
1 changed files with 2 additions and 2 deletions
|
@ -307,7 +307,7 @@ struct wlr_renderer *renderer_autocreate_with_drm_fd(int drm_fd) {
|
||||||
log_creation_failure(is_auto, "Cannot create Vulkan renderer: no DRM FD available");
|
log_creation_failure(is_auto, "Cannot create Vulkan renderer: no DRM FD available");
|
||||||
} else {
|
} else {
|
||||||
renderer = wlr_vk_renderer_create_with_drm_fd(drm_fd);
|
renderer = wlr_vk_renderer_create_with_drm_fd(drm_fd);
|
||||||
if (!renderer) {
|
if (!renderer) {
|
||||||
log_creation_failure(is_auto, "Failed to create a Vulkan renderer");
|
log_creation_failure(is_auto, "Failed to create a Vulkan renderer");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -316,7 +316,7 @@ struct wlr_renderer *renderer_autocreate_with_drm_fd(int drm_fd) {
|
||||||
|
|
||||||
if (!renderer && (is_auto || strcmp(renderer_name, "pixman") == 0)) {
|
if (!renderer && (is_auto || strcmp(renderer_name, "pixman") == 0)) {
|
||||||
renderer = wlr_pixman_renderer_create();
|
renderer = wlr_pixman_renderer_create();
|
||||||
if (!renderer) {
|
if (!renderer) {
|
||||||
log_creation_failure(is_auto, "Failed to create a pixman renderer");
|
log_creation_failure(is_auto, "Failed to create a pixman renderer");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue