summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2020-02-18 23:07:37 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2020-02-18 23:07:37 +0000
commiteab94c8f45c5c231cf62467ee0f0be7a99fcc484 (patch)
tree4768ccc5c9a58633e8c483ea58b53f02ee6bee01 /vulkan/libvulkan/api.cpp
parentbe164dec3236b406941b627ee3e178d18014638d (diff)
parent279df620b0175bbe5dfe34f73d75450d541792de (diff)
Merge "libvulkan: remove a redundant check debuggable logic" into qt-qpr1-dev
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
-rw-r--r--vulkan/libvulkan/api.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/vulkan/libvulkan/api.cpp b/vulkan/libvulkan/api.cpp
index dd9efd3e17..c3b5523b9e 100644
--- a/vulkan/libvulkan/api.cpp
+++ b/vulkan/libvulkan/api.cpp
@@ -124,8 +124,7 @@ class OverrideLayerNames {
};
void AddImplicitLayers() {
- if (!is_instance_ ||
- !android::GraphicsEnv::getInstance().isDebuggable())
+ if (!is_instance_)
return;
GetLayersFromSettings();