glx: Retrieve the value of RENDER_TYPE from GLX attribs array
authorTomasz Lis <tomasz.lis@intel.com>
Wed, 17 Jul 2013 11:49:15 +0000 (13:49 +0200)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 18 Jul 2013 23:03:42 +0000 (16:03 -0700)
commita92cd5b2454c984d56f2f7d03fe64baf6d39be4c
treee2d1439b6c594cd92227b139ba847f0d384219fc
parent36259a16fe9b1ab60c7cb4fbf41077fb480a2bec
glx: Retrieve the value of RENDER_TYPE from GLX attribs array

Make sure that context creation routines are provided with the value of
RENDER_TYPE retrieved from GLX attribs.

v2 (idr): Minor formatting changes.  Change type of
dri2_convert_glx_attribs render_type parameter to uint32_t to silence
some GCC warnings.

Signed-off-by: Tomasz Lis <tomasz.lis@intel.com>
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glx/dri2_glx.c
src/glx/dri_common.c
src/glx/dri_common.h
src/glx/drisw_glx.c