mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-17 06:46:39 -04:00
Merge branch 'dmabuf' into 'master'
Allow scanning out fullscreen surfaces on secondary GPUs See merge request wlroots/wlroots!4055
This commit is contained in:
commit
772265a81a
18 changed files with 782 additions and 76 deletions
|
|
@ -882,7 +882,8 @@ static struct wlr_texture *scene_buffer_get_texture(
|
|||
struct wlr_client_buffer *client_buffer =
|
||||
wlr_client_buffer_get(scene_buffer->buffer);
|
||||
if (client_buffer != NULL) {
|
||||
return client_buffer->texture;
|
||||
return wlr_texture_set_get_tex_for_renderer(client_buffer->texture_set,
|
||||
renderer);
|
||||
}
|
||||
|
||||
scene_buffer->texture =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue