egl_dri2: call dri2_add_configs_for_visuals after extensions set
authorTapani Pälli <tapani.palli@intel.com>
Wed, 8 Jan 2014 13:17:58 +0000 (15:17 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Mon, 13 Jan 2014 05:59:56 +0000 (07:59 +0200)
commitf8c5b8a17dae2ee0d63e5456dc76c77436ac1946
tree1979e9d5d2eb2b23ae9960df927fd8f7ed48384c
parent2dc35a619c50139d07ad96fc4dfe456e5811c84e
egl_dri2: call dri2_add_configs_for_visuals after extensions set

dri2_add_config makes decisions based on NOK_texture_from_pixmap so
it needs to be enabled before calling dri2_add_configs_for_visuals.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/egl/drivers/dri2/platform_x11.c