mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
renderer: replace get_render_buffer_caps() with struct field
This commit is contained in:
parent
0686666cf5
commit
ebef710746
9 changed files with 13 additions and 34 deletions
|
|
@ -94,7 +94,7 @@ static int reopen_drm_node(int drm_fd, bool allow_render_node) {
|
|||
struct wlr_allocator *allocator_autocreate_with_drm_fd(
|
||||
uint32_t backend_caps, struct wlr_renderer *renderer,
|
||||
int drm_fd) {
|
||||
uint32_t renderer_caps = renderer_get_render_buffer_caps(renderer);
|
||||
uint32_t renderer_caps = renderer->render_buffer_caps;
|
||||
|
||||
struct wlr_allocator *alloc = NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue