aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAustin Shafer <ashafer@nvidia.com>2024-01-31 15:37:07 -0500
committerAustin Shafer <ashafer@nvidia.com>2024-02-02 16:36:31 -0500
commitd368028bd5557810af954ef96bf0f4addd97f551 (patch)
treefbf38f01dc4999bc0636b2e480e1a798d6daf583 /include
parenta8aeadeab2820e670316ddae3e0da0d6815dd253 (diff)
allocator: remove backend parameter in allocator_autocreate_with_drm_fd
Since we only use the backend capabilities here we can simply pass them in directly. This allows other locations to create an allocator even if they don't have a backend. They can simply specify the caps they want instead.
Diffstat (limited to 'include')
-rw-r--r--include/render/allocator/allocator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/render/allocator/allocator.h b/include/render/allocator/allocator.h
index 2abdd43d..5f8bd2a1 100644
--- a/include/render/allocator/allocator.h
+++ b/include/render/allocator/allocator.h
@@ -4,6 +4,6 @@
#include <wlr/render/allocator.h>
struct wlr_allocator *allocator_autocreate_with_drm_fd(
- struct wlr_backend *backend, struct wlr_renderer *renderer, int drm_fd);
+ uint32_t backend_caps, struct wlr_renderer *renderer, int drm_fd);
#endif