eg: explicitly size dri2_to_egl_attribute_map[]
authorEmil Velikov <emil.velikov@collabora.com>
Mon, 1 May 2017 18:40:31 +0000 (19:40 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 4 May 2017 17:05:47 +0000 (18:05 +0100)
commitb6643095bab360b9e49a2c8b0f1c97f7e27d84ce
treeda1ed389439b65cd3081adcabbfac1f5322ef45d
parent2c60bf093e9c860e7bdadb17a0063d19b3b39ddb
eg: explicitly size dri2_to_egl_attribute_map[]

This way we'll get an implicit zero initialization of the remaining
members, as required by dri2_add_config().

Fixes: e5efaeb85c3 ("egl: polish dri2_to_egl_attribute_map[]")
Cc: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/drivers/dri2/egl_dri2.c