summaryrefslogtreecommitdiff
path: root/opengl
diff options
context:
space:
mode:
author Chris Forbes <chrisforbes@google.com> 2024-08-06 01:30:05 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2024-08-06 01:30:05 +0000
commit4f5422e9b319f952d984159b31297cb0905ac9f3 (patch)
tree9a5a23d4c9f5df5ab3b5d4bdd6fdc77d4499b195 /opengl
parent70dc5ceddbbab1f6276a31da115fdc7bd145fe54 (diff)
parent3150c9697cd367abd45f6f11376bf3bef7476406 (diff)
Merge changes I1e6c3c80,I4310618c into main am: 5a2065886b am: 3150c9697c
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3205054 Change-Id: I4c98c1a8621b80b0f68617bc8e77e7605888e139 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'opengl')
-rw-r--r--opengl/libs/EGL/Loader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libs/EGL/Loader.cpp b/opengl/libs/EGL/Loader.cpp
index ec7b190c74..bf0e38e986 100644
--- a/opengl/libs/EGL/Loader.cpp
+++ b/opengl/libs/EGL/Loader.cpp
@@ -270,7 +270,7 @@ void* Loader::open(egl_connection_t* cnx) {
hnd = attempt_to_load_updated_driver(cnx);
// If updated driver apk is set but fail to load, abort here.
- LOG_ALWAYS_FATAL_IF(android::GraphicsEnv::getInstance().getDriverNamespace(),
+ LOG_ALWAYS_FATAL_IF(android::GraphicsEnv::getInstance().getDriverNamespace() && !hnd,
"couldn't find an OpenGL ES implementation from %s",
android::GraphicsEnv::getInstance().getDriverPath().c_str());
}