From 92a3ed43645150a79b5abdc3508ca7e4f64aba89 Mon Sep 17 00:00:00 2001 From: Marco Nelissen Date: Tue, 7 Jul 2009 16:18:18 -0700 Subject: [PATCH] Make opengl loader use an absolute path. --- opengl/libs/EGL/Loader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opengl/libs/EGL/Loader.cpp b/opengl/libs/EGL/Loader.cpp index 4f9939f0355c9..7f3f1141d9a4f 100644 --- a/opengl/libs/EGL/Loader.cpp +++ b/opengl/libs/EGL/Loader.cpp @@ -139,7 +139,7 @@ void* Loader::open(EGLNativeDisplayType display, int impl, gl_hooks_t* hooks) char path[PATH_MAX]; int index = int(display); driver_t* hnd = 0; - const char* const format = "egl/lib%s_%s.so"; + const char* const format = "/system/lib/egl/lib%s_%s.so"; char const* tag = getTag(index, impl); if (tag) {