examples: screencopy-dmabuf: Fix y-inversion

master
Andri Yngvason 5 years ago committed by Simon Ser
parent 1d835f2035
commit a54ed85881

@ -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);

Loading…
Cancel
Save