diff options
| author | 2016-05-18 08:50:15 +0800 | |
|---|---|---|
| committer | 2016-05-18 09:02:33 +0800 | |
| commit | ed93ea39891341b4396ad9eb59cd98aa74e5d6c3 (patch) | |
| tree | c751df9293942813477dee5213c15b0b5673d6fc | |
| parent | 853f8f9c0b95120731459c1f7567af69ce457fe0 (diff) | |
vulkan: fix double dlopen for layer libraries
Bug: 28826014
Change-Id: I10693426f987e63bb490ac8d1f4445ce2d195d8d
| -rw-r--r-- | vulkan/libvulkan/layers_extensions.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/vulkan/libvulkan/layers_extensions.cpp b/vulkan/libvulkan/layers_extensions.cpp index 4505f41809..aa35657e89 100644 --- a/vulkan/libvulkan/layers_extensions.cpp +++ b/vulkan/libvulkan/layers_extensions.cpp @@ -121,7 +121,6 @@ bool LayerLibrary::Open() { } 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()); |