dri_util: Fix order of error and data parameters to dri2CreateContextAttribs
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 2 Jan 2012 21:38:11 +0000 (13:38 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 2 Jan 2012 21:39:41 +0000 (13:39 -0800)
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/common/dri_util.c

index 948eb0747d9079350749c152fa6ef7d49ee72fd3..db7322ec42c19537972a150e83eb5bda68eaf188 100644 (file)
@@ -252,7 +252,7 @@ dri2CreateNewContextForAPI(__DRIscreen *screen, int api,
     unsigned error;
 
     return dri2CreateContextAttribs(screen, api, config, shared, 0, NULL,
-                                   data, &error);
+                                   &error, data);
 }
 
 static __DRIcontext *