summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-01-02 13:38:11 -0800
committerIan Romanick <[email protected]>2012-01-02 13:39:41 -0800
commit596d9f6dd170ec7a4c9ed94dd545b4b3d7c7c07d (patch)
treec75f06ff19da90c75de38e13f31c3ba5fe5cd9b0 /src/mesa/drivers/dri/common
parent77058335ebc9a1c2a81ec2cf98a8a157065e69d0 (diff)
dri_util: Fix order of error and data parameters to dri2CreateContextAttribs
Signed-off-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/common')
-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 *