From: Ian Romanick Date: Mon, 2 Jan 2012 21:38:11 +0000 (-0800) Subject: dri_util: Fix order of error and data parameters to dri2CreateContextAttribs X-Git-Tag: mesa-8.0-rc1~300 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=596d9f6dd170ec7a4c9ed94dd545b4b3d7c7c07d;p=platform%2Fupstream%2Fmesa.git dri_util: Fix order of error and data parameters to dri2CreateContextAttribs Signed-off-by: Ian Romanick --- 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 *