diff options
author | Thomas Hellstrom <[email protected]> | 2017-08-09 10:50:23 +0200 |
---|---|---|
committer | Thomas Hellstrom <[email protected]> | 2017-08-10 09:15:33 +0200 |
commit | 08bee3e5ac95ad51ef06ba3a4ee349f96f173df7 (patch) | |
tree | c06c09ac8ed709deeb194a36e0a43c2db004dfec /src/glx/glxext.c | |
parent | 82ba384c10d598bee4786ef5f79e92a0e7b53892 (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 'src/glx/glxext.c')
0 files changed, 0 insertions, 0 deletions