Make opengl loader use an absolute path.

This commit is contained in:
Marco Nelissen
2009-07-07 16:18:18 -07:00
parent 42a3265cfb
commit 92a3ed4364

View File

@@ -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) {