dri_util: cleanup dri extension handling
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 12 Feb 2014 20:47:21 +0000 (20:47 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 28 Apr 2014 18:13:38 +0000 (19:13 +0100)
commitc812557a0e1d6242362460ba6a3aa2012ea9f4b1
tree4d79ecdec363cbf0710a5c719d3f8ce6c472b610
parent51e3569573a7b3f8da0df093836761003fcdc414
dri_util: cleanup dri extension handling

Explicitly set the version that is implemented, as that may differ from
the one defined in dri_interface.h. The remaining __DRI*Extensions are
treated as constants, so got ahead and declare them as such.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/common/dri_util.c
src/mesa/drivers/dri/common/dri_util.h