radeon / r200: Pass the API into _mesa_initialize_context
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 19 Dec 2013 19:04:29 +0000 (11:04 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 27 Jan 2014 21:21:43 +0000 (14:21 -0700)
commit33214679bb632a80d4339ffa0f28f7620d510658
tree4ac763c47b62b63e143b5bf11fdeeb1d33a661c2
parentaf0b34783e4e4f2a5d03444738a785f15bbb755b
radeon / r200: Pass the API into _mesa_initialize_context

Otherwise an application that requested an OpenGL ES 1.x context would
actually get a desktop OpenGL context.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Cc: "9.1 9.2 10.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/r200/r200_context.c
src/mesa/drivers/dri/radeon/radeon_common_context.c
src/mesa/drivers/dri/radeon/radeon_common_context.h
src/mesa/drivers/dri/radeon/radeon_context.c