From defca4c192bd7f4af2b273c7cb1fe8665888772a Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 12 Jul 2012 18:52:34 +1000 Subject: glx/dri2: fix typo in the notification reset for robustness. Reviewed-by: Ian Romanick Reviewed-by: Matt Turner Signed-off-by: Dave Airlie --- glx/glxdri2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'glx') diff --git a/glx/glxdri2.c b/glx/glxdri2.c index f3e26b773..f168d6fb7 100644 --- a/glx/glxdri2.c +++ b/glx/glxdri2.c @@ -538,7 +538,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; -- cgit v1.2.3