summaryrefslogtreecommitdiffstats
path: root/src/egl/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl/main')
-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;