glx: Advertise GLX_MESA_gl_interop extension if support present
Signed-off-by: Sylvain Munaut <tnt@246tNt.com> Acked-by: Antonio Gomes <antoniospg100@gmail.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24573>
This commit is contained in:

committed by
Marge Bot

parent
c0d804685d
commit
8ee8788208
@@ -979,6 +979,9 @@ dri2BindExtensions(struct dri2_screen *psc, struct glx_display * priv,
|
||||
|
||||
if (psc->rendererQuery)
|
||||
__glXEnableDirectExtension(&psc->base, "GLX_MESA_query_renderer");
|
||||
|
||||
if (psc->interop)
|
||||
__glXEnableDirectExtension(&psc->base, "GLX_MESA_gl_interop");
|
||||
}
|
||||
|
||||
static char *
|
||||
|
Reference in New Issue
Block a user