gbm: cleanup __DRI*extension handling
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 16 Mar 2014 00:26:53 +0000 (00:26 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 28 Apr 2014 18:13:38 +0000 (19:13 +0100)
commit5457caa58c048e2df71c7ebc036d5ca010d576b6
tree9dd6ac456f2a4990cbe27a1b71eaba28af50f6fb
parentc812557a0e1d6242362460ba6a3aa2012ea9f4b1
gbm: cleanup __DRI*extension handling

Use designated initialisers, store all extension pointers as const and use
a const __DRIextensions array over assigning each element individually.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/gbm/backends/dri/gbm_dri.c
src/gbm/backends/dri/gbm_driint.h