mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-06 16:08:27 +02:00
clients: screenshot: allow dma-buf screenshots for framebuffer source
In the last commit we've added support for dma-buf screenshots in our GL-renderer. So let's enable the screenshot client to use it. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
This commit is contained in:
parent
c092f500e0
commit
b4c4dfb7e4
1 changed files with 0 additions and 5 deletions
|
|
@ -671,11 +671,6 @@ main(int argc, char *argv[])
|
|||
fprintf(stderr, "Error: display does not support weston_capture_v1\n");
|
||||
return -1;
|
||||
}
|
||||
if (app.src_type == WESTON_CAPTURE_V1_SOURCE_FRAMEBUFFER &&
|
||||
app.buffer_type != CLIENT_BUFFER_TYPE_SHM) {
|
||||
fprintf(stderr, "Error: Only support shm buffer with framebuffer source\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
if(app.buffer_type == CLIENT_BUFFER_TYPE_SHM && !app.shm) {
|
||||
fprintf(stderr, "Error: display does not support wl_shm\n");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue