Hi,

the patch fix a typo in _eglPreloadForEach, the loader should have as
third argument loader_data(the driver name) instead of loader(the
loader function).

Igor
From 318a82ed3016ef788a41f15b461e88034b5fe64e Mon Sep 17 00:00:00 2001
From: Igor Oliveira <igor.olive...@openbossa.org>
Date: Wed, 3 Feb 2010 17:51:30 -0400
Subject: [PATCH] egl: fix wrong argument.
 Use loader_data instead of loader

---
 src/egl/main/egldriver.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c
index a8a8e30..a87c697 100644
--- a/src/egl/main/egldriver.c
+++ b/src/egl/main/egldriver.c
@@ -392,7 +392,7 @@ _eglPreloadForEach(const char *search_path,
       next = strchr(cur, ':');
       len = (next) ? next - cur : strlen(cur);
 
-      if (!loader(cur, len, loader))
+      if (!loader(cur, len, loader_data))
          break;
 
       cur = (next) ? next + 1 : NULL;
-- 
1.6.3.3

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to