From a54ed8588177a679a131c621c0d300c6a9d910c5 Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Sun, 28 Jun 2020 14:03:54 +0000 Subject: examples: screencopy-dmabuf: Fix y-inversion --- examples/screencopy-dmabuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/screencopy-dmabuf.c b/examples/screencopy-dmabuf.c index ebc6ea75..74eb8a75 100644 --- a/examples/screencopy-dmabuf.c +++ b/examples/screencopy-dmabuf.c @@ -349,7 +349,7 @@ int main(int argc, char *argv[]) { } write_image("wayland-screenshot.png", buffer.format, buffer.width, - buffer.height, stride, !buffer.y_invert, data); + buffer.height, stride, buffer.y_invert, data); gbm_bo_unmap(buffer.bo, map_data); gbm_bo_destroy(buffer.bo); -- cgit v1.2.3