summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/common/dri_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c
index 948eb0747d9..db7322ec42c 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 *