From 596d9f6dd170ec7a4c9ed94dd545b4b3d7c7c07d Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 2 Jan 2012 13:38:11 -0800 Subject: [PATCH] dri_util: Fix order of error and data parameters to dri2CreateContextAttribs Signed-off-by: Ian Romanick --- src/mesa/drivers/dri/common/dri_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c index 948eb07..db7322e 100644 --- a/src/mesa/drivers/dri/common/dri_util.c +++ b/src/mesa/drivers/dri/common/dri_util.c @@ -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 * -- 2.7.4