[PATCH 4/5] glx/dri2: use correct define from dri attribs.

Dave Airlie airlied at gmail.com
Thu Jul 12 02:12:50 PDT 2012


Looks like idr renamed this and pushed the wrong one.

Signed-off-by: Dave Airlie <airlied at redhat.com>
Cc: Ian Romanick <idr at freedesktop.org>
---
 glx/glxdri2.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/glx/glxdri2.c b/glx/glxdri2.c
index a35e39c..ddbcf69 100644
--- a/glx/glxdri2.c
+++ b/glx/glxdri2.c
@@ -537,7 +537,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
-- 
1.7.10.4



More information about the xorg-devel mailing list