mesa/main: Fix memset in formatquery.c
authorEdward O'Callaghan <funfunctor@folklore1984.net>
Fri, 17 Mar 2017 05:24:06 +0000 (16:24 +1100)
committerEdward O'Callaghan <funfunctor@folklore1984.net>
Sun, 2 Apr 2017 05:18:38 +0000 (15:18 +1000)
commitf9387a223d40bb8d108a539671e0291cc25c6d80
tree5ba0479d08eb7f6534a22c05fb7d6add61b6e77b
parent515165ff0e5f0674d79a2a4ea2904a609d521346
mesa/main: Fix memset in formatquery.c

v2: We explicitly set each member to -1 over using a confusing
memset().

Signed-off-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/formatquery.c