noop-renderer: zero-initialize struct
authorPekka Paalanen <pekka.paalanen@collabora.com>
Wed, 2 Oct 2019 10:39:41 +0000 (13:39 +0300)
committerPekka Paalanen <pq@iki.fi>
Fri, 11 Oct 2019 12:16:35 +0000 (12:16 +0000)
commit209187491b7a52b8ae735db69499aff2b03cec75
tree30b5d93633135ac2010d4d66f1ecc8086490bea3
parentecdf50d38e488a7046776773aceb5ba1ac7f8701
noop-renderer: zero-initialize struct

This ensures that all function pointers we do not fill in will be NULL.

I had a crash in the Xwayland test with
https://gitlab.freedesktop.org/wayland/weston/merge_requests/274 without this,
because import_dmabuf was garbage.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
libweston/noop-renderer.c