Mesa (master): dri_util: Fix order of error and data parameters to dri2CreateContextAttribs

Ian Romanick idr at kemper.freedesktop.org
Mon Jan 2 21:40:43 UTC 2012


Module: Mesa
Branch: master
Commit: 596d9f6dd170ec7a4c9ed94dd545b4b3d7c7c07d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=596d9f6dd170ec7a4c9ed94dd545b4b3d7c7c07d

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Jan  2 13:38:11 2012 -0800

dri_util: Fix order of error and data parameters to dri2CreateContextAttribs

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

---

 src/mesa/drivers/dri/common/dri_util.c |    2 +-
 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 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 *




More information about the mesa-commit mailing list