Skip to content

Commit

Permalink
image-copy-capture: Fix unused variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
any1 committed Sep 28, 2024
1 parent 561eab6 commit fa3f25c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ext-image-copy-capture.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,11 @@ static void session_handle_format_drm(void *data,
struct ext_image_copy_capture_session_v1 *session,
uint32_t format, struct wl_array* modifiers)
{
#ifdef ENABLE_SCREENCOPY_DMABUF
struct ext_image_copy_capture* self = data;

nvnc_log(NVNC_LOG_DEBUG, "DMA-BUF format: %"PRIx32, format);

#ifdef ENABLE_SCREENCOPY_DMABUF
// TODO: Select a format that works

self->have_linux_dmabuf = true;
Expand Down

0 comments on commit fa3f25c

Please sign in to comment.