renderonly: Initialize fields of struct winsys_handle.
authorEric Anholt <eric@anholt.net>
Tue, 9 May 2017 18:24:21 +0000 (11:24 -0700)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Mon, 15 May 2017 04:38:45 +0000 (06:38 +0200)
commitc98f03c6ebaca82c265b2f3242aed5c6a3c5dcd8
tree9d6b130ea7877481065f4c58da7314368f442881
parent12f9fa564aa844d8ecd995853ac78a3f8156b965
renderonly: Initialize fields of struct winsys_handle.

vc4 was rejecting renderonly's import, because the offset field was
nonzero.

Fixes: 848b49b288f ("gallium: add renderonly library")
Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
src/gallium/auxiliary/renderonly/renderonly.c