intel: Enable __DRI_API_OPENGL_CORE api with dri2 contexts
authorJordan Justen <jordan.l.justen@intel.com>
Wed, 20 Feb 2013 08:14:13 +0000 (00:14 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Fri, 1 Mar 2013 05:51:00 +0000 (21:51 -0800)
commit782d4f0f3c4a69335bf826e10031ad8a0847e496
treea0120aa2e4dc8e81d1f39ad2b85d1b69987b7d23
parentfde59a27fb981e9d05773891a453b2b142f85871
intel: Enable __DRI_API_OPENGL_CORE api with dri2 contexts

Without this set, dri_util.c:dri2CreateContextAttribs
will reject requests to create a context with
__DRI_API_OPENGL_CORE.

This prevents a 3.2 core profile context from being created
even when MESA_GL_OVERRIDE_VERSION=3.2 is used.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/intel/intel_screen.c