summaryrefslogtreecommitdiff
path: root/opengl
diff options
context:
space:
mode:
authorYiwei Zhang <zzyiwei@google.com>2020-11-12 20:23:00 +0000
committerYiwei Zhang <zzyiwei@google.com>2020-11-13 17:45:15 +0000
commit9058b8fe8c00609768a828e3e1476d7f24754fed (patch)
treee5ae32ff7ce03b5e0953dd019e8a63e4416c1b70 /opengl
parentd7c0aa947c9c1adc70b35d649b3b3222ea75b49b (diff)
Vulkan/OpenGL: log dlerror for loading updatable gfx driver
Test: build Change-Id: Ifcb57266f5d93767ba911f70695e0bbbeace98e6
Diffstat (limited to 'opengl')
-rw-r--r--opengl/libs/EGL/Loader.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/opengl/libs/EGL/Loader.cpp b/opengl/libs/EGL/Loader.cpp
index 1afc6934f6..76fd7f0f3f 100644
--- a/opengl/libs/EGL/Loader.cpp
+++ b/opengl/libs/EGL/Loader.cpp
@@ -514,6 +514,8 @@ static void* load_updated_driver(const char* kind, android_namespace_t* ns) {
if (so) {
return so;
}
+ ALOGE("Could not load %s from updatable gfx driver namespace: %s.", name.c_str(),
+ dlerror());
}
return nullptr;
}