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

Author: Ian Romanick <[email protected]>
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 <[email protected]>

---

 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 *

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to