commit | ed93ea39891341b4396ad9eb59cd98aa74e5d6c3 | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@google.com> | Wed May 18 08:50:15 2016 +0800 |
committer | Chia-I Wu <olv@google.com> | Wed May 18 09:02:33 2016 +0800 |
tree | c751df9293942813477dee5213c15b0b5673d6fc | |
parent | 853f8f9c0b95120731459c1f7567af69ce457fe0 [diff] |
vulkan: fix double dlopen for layer libraries Bug: 28826014 Change-Id: I10693426f987e63bb490ac8d1f4445ce2d195d8d
diff --git a/vulkan/libvulkan/layers_extensions.cpp b/vulkan/libvulkan/layers_extensions.cpp index 4505f41..aa35657 100644 --- a/vulkan/libvulkan/layers_extensions.cpp +++ b/vulkan/libvulkan/layers_extensions.cpp
@@ -121,7 +121,6 @@ } else { dlhandle_ = dlopen(path_.c_str(), RTLD_NOW | RTLD_LOCAL); } - dlhandle_ = dlopen(path_.c_str(), RTLD_NOW | RTLD_LOCAL); if (!dlhandle_) { ALOGE("failed to load layer library '%s': %s", path_.c_str(), dlerror());