aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl/main/egldriver.c
diff options
context:
space:
mode:
authorIgor Oliveira <[email protected]>2010-02-03 17:51:30 -0400
committerChia-I Wu <[email protected]>2010-02-04 10:09:37 +0800
commit88af76ce94834d795c11445b1c82b7aa874b87d5 (patch)
tree3977f2e529f6b8c2642af5d2a5058a7fba7fc796 /src/egl/main/egldriver.c
parent3584a44270a7f3a04e187bd79b5373314514d383 (diff)
egl: fix wrong argument. Use loader_data instead of loader
Diffstat (limited to 'src/egl/main/egldriver.c')
-rw-r--r--src/egl/main/egldriver.c2
1 files changed, 1 insertions, 1 deletions
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;