From 3cb3d17312f58cb348e0d7ed356877ccc8800ed8 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 20 Jul 2020 09:55:30 +1000 Subject: [PATCH] glx/drisw: add robustness support Reviewed-by: Roland Scheidegger Part-of: --- src/glx/drisw_glx.c | 5 +++++ 1 file changed, 5 insertions(+) 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"); -- 2.30.2