mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-12-02 14:43:59 +08:00
gallium/dri: Return __DRI_ATTRIB_SWAP_UNDEFINED for _SWAP_METHOD
In contrast to __DRI_ATTRIB_SWAP_EXCHANGE, this is compatible with Mesa
< 23.3 on the client side.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10080
Fixes: e64ab3e4a9
("glx: Delete support for GLX_OML_swap_method.")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26685>
This commit is contained in:
parent
290d958c63
commit
9548f969bd
@ -326,7 +326,7 @@ driGetConfigAttribIndex(const __DRIconfig *config,
|
||||
* for the X server's sake, and EGL will expect us to handle it because
|
||||
* it iterates all __DRI_ATTRIBs.
|
||||
*/
|
||||
*value = __DRI_ATTRIB_SWAP_EXCHANGE;
|
||||
*value = __DRI_ATTRIB_SWAP_UNDEFINED;
|
||||
break;
|
||||
case __DRI_ATTRIB_MAX_SWAP_INTERVAL:
|
||||
*value = INT_MAX;
|
||||
|
Loading…
Reference in New Issue
Block a user