mesa/include/GL
Thomas Hellstrom 08bee3e5ac dri: Fix __DRIconfig reporting of __DRI_ATTRIB_SWAP_METHOD
The attribMap had two entries for this attribute, and
driGetConfigAttribIndex didn't return a proper value for this attribute.
Fix this, and also make sure we return SWAP_UNDEFINED for single-buffer
configs as required by the GLX_OML_swap_method spec.

Finally bump the dri core extension version to 2, indicating that we
correctly report __DRI_ATTRIB_SWAP_METHOD.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2017-08-10 09:15:33 +02:00
..
internal dri: Fix __DRIconfig reporting of __DRI_ATTRIB_SWAP_METHOD 2017-08-10 09:15:33 +02:00
gl.h mesa: remove unused #pragma export on/off lines 2014-04-28 17:16:42 -06:00
gl_mangle.h mesa: regenerate gl_mangle.h 2014-08-12 08:09:45 -06:00
glcorearb.h Update Khronos-supplied headers 2017-06-30 15:29:50 +02:00
glext.h Update Khronos-supplied headers 2017-06-30 15:29:50 +02:00
glx.h includes/GL: remove duplicated extension declarations from glx.h 2015-08-01 15:47:55 +01:00
glx_mangle.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
glxext.h Update Khronos-supplied headers 2017-06-30 15:29:50 +02:00
mesa_glinterop.h mesa_glinterop: allow building without X and related headers 2016-10-14 11:08:59 +01:00
osmesa.h osmesa: add new OSMesaCreateContextAttribs function 2015-12-16 19:38:51 -07:00
wglext.h Update Khronos-supplied headers 2017-06-30 15:29:50 +02:00