From: Dave Airlie Date: Sun, 19 Jul 2020 23:55:30 +0000 (+1000) Subject: glx/drisw: add robustness support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3cb3d17312f58cb348e0d7ed356877ccc8800ed8;p=mesa.git glx/drisw: add robustness support Reviewed-by: Roland Scheidegger Part-of: --- diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c index 985e258663e..07ace2c82b1 100644 --- a/src/glx/drisw_glx.c +++ b/src/glx/drisw_glx.c @@ -808,6 +808,11 @@ driswBindExtensions(struct drisw_screen *psc, const __DRIextension **extensions) psc->rendererQuery = (__DRI2rendererQueryExtension *) extensions[i]; __glXEnableDirectExtension(&psc->base, "GLX_MESA_query_renderer"); } + + if (strcmp(extensions[i]->name, __DRI2_ROBUSTNESS) == 0) + __glXEnableDirectExtension(&psc->base, + "GLX_ARB_create_context_robustness"); + if (strcmp(extensions[i]->name, __DRI2_FLUSH_CONTROL) == 0) { __glXEnableDirectExtension(&psc->base, "GLX_ARB_context_flush_control");