diff options
author | Adam Jackson <[email protected]> | 2019-08-22 15:15:28 -0400 |
---|---|---|
committer | Adam Jackson <[email protected]> | 2019-08-27 22:34:46 +0000 |
commit | 163fc11f271c8c68e5da2d8704e8696c576b9dca (patch) | |
tree | 3f570ca65b94de9d63983938271ecde249384612 /src/glx | |
parent | 1b9fce56c4f28a092dd1cd6a1dbe8921c442824e (diff) |
glx: Unset the direct_support bit for GLX_EXT_import_context
GLX_EXT_import_context operates only on indirect contexts, a direct
context cannot possibly support it. Without this change the extension
will appear in the combined GLX extension string even if it is missing
from the server string, indicating a lack of required server support.
Diffstat (limited to 'src/glx')
-rw-r--r-- | src/glx/glxextensions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/glxextensions.c b/src/glx/glxextensions.c index f6a7a31a219..a6fcc5f744b 100644 --- a/src/glx/glxextensions.c +++ b/src/glx/glxextensions.c @@ -146,7 +146,7 @@ static const struct extension_info known_glx_extensions[] = { { GLX(EXT_create_context_es_profile), VER(0,0), Y, N, N, N }, { GLX(EXT_fbconfig_packed_float), VER(0,0), Y, Y, N, N }, { GLX(EXT_framebuffer_sRGB), VER(0,0), Y, Y, N, N }, - { GLX(EXT_import_context), VER(0,0), Y, Y, N, N }, + { GLX(EXT_import_context), VER(0,0), Y, N, N, N }, { GLX(EXT_texture_from_pixmap), VER(0,0), Y, N, N, N }, { GLX(EXT_visual_info), VER(0,0), Y, Y, N, N }, { GLX(EXT_visual_rating), VER(0,0), Y, Y, N, N }, |