Revert "glx: Unset the direct_support bit for GLX_EXT_import_context"
authorAdam Jackson <ajax@redhat.com>
Thu, 29 Aug 2019 16:15:22 +0000 (12:15 -0400)
committerAdam Jackson <ajax@redhat.com>
Fri, 30 Aug 2019 21:50:45 +0000 (17:50 -0400)
The GLX extension strings are independent of any context, so abusing the
direct_support bit to control this extension's visibility is wrong.

This reverts commit 079d0717fc896bc8086b037d0ed22642274986c7.

Reported-by: Michel Dänzer <michel@daenzer.net>
Reviewed-by: Michel Dänzer <michel@daenzer.net>
src/glx/glxextensions.c

index a6fcc5f744bb6b75608351cb9b5097c1c1ab53d5..f6a7a31a2195dfdf6a7c920c5c06435061c73598 100644 (file)
@@ -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, N, N, N },
+   { GLX(EXT_import_context),          VER(0,0), Y, Y, 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 },