From d1a00c26becdc2490ab4660abf108eca09c30d23 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 12 Jul 2012 19:05:41 +1000 Subject: [PATCH] glx/dri2: use correct define from dri attribs. Looks like idr renamed this and pushed the wrong one. Reviewed-by: Ian Romanick Reviewed-by: Matt Turner Signed-off-by: Dave Airlie --- glx/glxdri2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glx/glxdri2.c b/glx/glxdri2.c index 599d0ef08..897eb5953 100644 --- a/glx/glxdri2.c +++ b/glx/glxdri2.c @@ -540,7 +540,7 @@ create_driver_context(__GLXDRIcontext * context, #ifdef __DRI2_ROBUSTNESS if (reset != __DRI_CTX_RESET_NO_NOTIFICATION) { ctx_attribs[num_ctx_attribs++] = - __DRI_CTX_ATTRIB_RESET_NOTIFICATION; + __DRI_CTX_ATTRIB_RESET_STRATEGY; ctx_attribs[num_ctx_attribs++] = reset; } #endif