mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
glx: Handle IGNORE_GLX_SWAP_METHOD_OML regardless of GLX_USE_APPLEGL
Avoids tons of
WARNING: unknown fbconfig attribute from server: tag 0x8060 value 0x8063
messages with LIBGL_DEBUG=verbose.
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
9548f969bd
commit
f0594915e6
1 changed files with 1 additions and 2 deletions
|
|
@ -563,12 +563,11 @@ __glXInitializeVisualConfigFromTags(struct glx_config * config, int count,
|
|||
case GLX_SAMPLES_SGIS:
|
||||
config->samples = *bp++;
|
||||
break;
|
||||
#ifdef GLX_USE_APPLEGL
|
||||
case IGNORE_GLX_SWAP_METHOD_OML:
|
||||
/* We ignore this tag. See the comment above this function. */
|
||||
++bp;
|
||||
break;
|
||||
#else
|
||||
#ifndef GLX_USE_APPLEGL
|
||||
case GLX_BIND_TO_TEXTURE_RGB_EXT:
|
||||
config->bindToTextureRgb = *bp++;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue