summaryrefslogtreecommitdiff
path: root/glx
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2012-07-12 19:05:41 +1000
committerDave Airlie <airlied@gmail.com>2012-07-13 11:20:48 +1000
commitd1a00c26becdc2490ab4660abf108eca09c30d23 (patch)
tree8106317ebf55b14359d2c78d0c91deacbb70f36b /glx
parentc62205adcd48d497450655d0136f8ca5bd5cbae7 (diff)
glx/dri2: use correct define from dri attribs.
Looks like idr renamed this and pushed the wrong one. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'glx')
-rw-r--r--glx/glxdri2.c2
1 files changed, 1 insertions, 1 deletions
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