From 88af76ce94834d795c11445b1c82b7aa874b87d5 Mon Sep 17 00:00:00 2001 From: Igor Oliveira 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c index a8a8e302e48..a87c697b113 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; -- 2.30.2