[PATCH 2/5] glx/dri2: fix typo in the notification reset for robustness.

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


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

diff --git a/glx/glxdri2.c b/glx/glxdri2.c
index 608cc17..6b389ab 100644
--- a/glx/glxdri2.c
+++ b/glx/glxdri2.c
@@ -535,7 +535,7 @@ create_driver_context(__GLXDRIcontext * context,
             }
 
 #ifdef __DRI2_ROBUSTNESS
-            if (reset != __DRI_CTX_NO_RESET_NOTIFICATION) {
+            if (reset != __DRI_CTX_RESET_NO_NOTIFICATION) {
                 ctx_attribs[num_ctx_attribs++] =
                     __DRI_CTX_ATTRIB_RESET_NOTIFICATION;
                 ctx_attribs[num_ctx_attribs++] = reset;
-- 
1.7.10.4



More information about the xorg-devel mailing list