clients/screenshooter: Fix taking screenshot on multiple outputs 15/26615/1
authorMarius Vlad <marius.vlad@collabora.com>
Fri, 3 Sep 2021 11:46:53 +0000 (14:46 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Fri, 3 Sep 2021 11:52:44 +0000 (14:52 +0300)
commit5b8d4c56e7d793cf38286ed20b1291e3527aa85c
treef3d957e78d13b483946eadb16092504fd5b39c6c
parentba86e440b28d1ade0b264ee4afd789faff56b30c
clients/screenshooter: Fix taking screenshot on multiple outputs

Turns out we were re-initializing the buffers min/max values each time
for each output, thus not computing the entire combined output. This is
a trivial fix.

Bug-AGL: SPEC-4064

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ie0c7490c902273b42c81e09cd08e480f30a654c0
clients/screenshooter.c