aboutsummaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-09-23 21:48:03 +0200
committerSimon Ser <contact@emersion.fr>2022-09-23 21:48:03 +0200
commitbcc6a5832faf7a66fcf9a6738bb42c315860f0d5 (patch)
treeba45de060b7191007d32b382dd556ecb088da824 /render
parentc153ae3c5d0e330d5fe90d4db0114e2e5d792bf2 (diff)
render: drop trailing whitespace
Diffstat (limited to 'render')
-rw-r--r--render/wlr_renderer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/wlr_renderer.c b/render/wlr_renderer.c
index f140f9af..25a281cb 100644
--- a/render/wlr_renderer.c
+++ b/render/wlr_renderer.c
@@ -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");
} else {
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");
}
}
@@ -316,7 +316,7 @@ struct wlr_renderer *renderer_autocreate_with_drm_fd(int drm_fd) {
if (!renderer && (is_auto || strcmp(renderer_name, "pixman") == 0)) {
renderer = wlr_pixman_renderer_create();
- if (!renderer) {
+ if (!renderer) {
log_creation_failure(is_auto, "Failed to create a pixman renderer");
}
}