summaryrefslogtreecommitdiffstats
path: root/include/GL/glx.h
diff options
context:
space:
mode:
authorThomas Hellstrom <[email protected]>2017-08-09 10:50:23 +0200
committerThomas Hellstrom <[email protected]>2017-08-10 09:15:33 +0200
commit08bee3e5ac95ad51ef06ba3a4ee349f96f173df7 (patch)
treec06c09ac8ed709deeb194a36e0a43c2db004dfec /include/GL/glx.h
parent82ba384c10d598bee4786ef5f79e92a0e7b53892 (diff)
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 <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'include/GL/glx.h')
0 files changed, 0 insertions, 0 deletions