glx: Unset the direct_support bit for GLX_EXT_import_context
authorAdam Jackson <ajax@redhat.com>
Thu, 22 Aug 2019 19:15:28 +0000 (15:15 -0400)
committerAdam Jackson <ajax@nwnk.net>
Tue, 27 Aug 2019 22:34:46 +0000 (22:34 +0000)
commit163fc11f271c8c68e5da2d8704e8696c576b9dca
tree3f570ca65b94de9d63983938271ecde249384612
parent1b9fce56c4f28a092dd1cd6a1dbe8921c442824e
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.
src/glx/glxextensions.c