diff options
Diffstat (limited to 'waltham-transmitter/transmitter-plugin/output.c')
-rw-r--r-- | waltham-transmitter/transmitter-plugin/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/waltham-transmitter/transmitter-plugin/output.c b/waltham-transmitter/transmitter-plugin/output.c index f5b1c21..ef6e972 100644 --- a/waltham-transmitter/transmitter-plugin/output.c +++ b/waltham-transmitter/transmitter-plugin/output.c @@ -193,7 +193,7 @@ transmitter_output_repaint(struct weston_output *base, output->renderer->dmafd = api->get_dma_fd_from_view(&output->base, view); - if(!output->renderer->dmafd) { + if(output->renderer->dmafd < 0) { weston_log("Failed to get dmafd\n"); goto out; } |