egl: fix wrong argument. Use loader_data instead of loader

This commit is contained in:
Igor Oliveira
2010-02-03 17:51:30 -04:00
committed by Chia-I Wu
parent 3584a44270
commit 88af76ce94

View File

@@ -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;