gl-renderer: Explicitly zeroing the offset for 2^ plane of SHM_FOMRAT_YUYV
authorMatteo Valdina <matteo.valdina@gmail.com>
Fri, 31 Aug 2018 14:47:59 +0000 (09:47 -0500)
committerMatteo Valdina <matteo.valdina@gmail.com>
Fri, 31 Aug 2018 14:47:59 +0000 (09:47 -0500)
commit3ebbc6b5df5c2ff6f6b9d8ef1f49b7afc3dbb06e
treef44040d71a8142f7070b39e87e283e16585aa022
parent7d0170cf8ab07b1d6f69106e86dbe80d87a6bcad
gl-renderer: Explicitly zeroing the offset for 2^ plane of SHM_FOMRAT_YUYV

This fix a crash, when gl-renderer uploads the 2^ texture for YUYV.
The pixels buffer was offset of a random value.
libweston/gl-renderer.c