egl: polish dri2_to_egl_attribute_map[]
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 28 Apr 2017 16:01:03 +0000 (17:01 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 29 Apr 2017 13:40:09 +0000 (14:40 +0100)
commite5efaeb85c32c5c825c6adc3b394ba0860d81147
tree782353ea26078a638933f7ac6811d8c40adbf6f4
parent6af14778a3f68030c4ad6426c75fe25d726235d5
egl: polish dri2_to_egl_attribute_map[]

Annotate the array as static const and use C99 initialiser to populate
it.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/egl/drivers/dri2/egl_dri2.c