screencopy: Disable linux-dmabuf code path
I need to iron out some kinks before it's made the defaultpull/58/head
parent
0c86f9cf53
commit
bed4b7261e
|
@ -51,12 +51,14 @@ static void screencopy_linux_dmabuf(void* data,
|
||||||
struct zwlr_screencopy_frame_v1* frame,
|
struct zwlr_screencopy_frame_v1* frame,
|
||||||
uint32_t format, uint32_t width, uint32_t height)
|
uint32_t format, uint32_t width, uint32_t height)
|
||||||
{
|
{
|
||||||
|
#ifdef ENABLE_SCREENCOPY_DMABUF
|
||||||
struct screencopy* self = data;
|
struct screencopy* self = data;
|
||||||
|
|
||||||
self->have_linux_dmabuf = true;
|
self->have_linux_dmabuf = true;
|
||||||
self->dmabuf_width = width;
|
self->dmabuf_width = width;
|
||||||
self->dmabuf_height = height;
|
self->dmabuf_height = height;
|
||||||
self->fourcc = format;
|
self->fourcc = format;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static void screencopy_buffer_done(void* data,
|
static void screencopy_buffer_done(void* data,
|
||||||
|
|
Loading…
Reference in New Issue