aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndri Yngvason <andri@yngvason.is>2020-06-28 14:03:54 +0000
committerSimon Ser <contact@emersion.fr>2020-07-01 11:43:02 +0200
commita54ed8588177a679a131c621c0d300c6a9d910c5 (patch)
tree97b53c5711e753413dc310716e00ab17bac4fe61
parent1d835f20352d55ae4e4dd2d62992c32e76562aac (diff)
examples: screencopy-dmabuf: Fix y-inversion
-rw-r--r--examples/screencopy-dmabuf.c2
1 files changed, 1 insertions, 1 deletions
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);