summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2019-09-09 18:20:15 +0100
committer Siarhei Vishniakou <svv@google.com> 2019-09-24 16:57:35 +0100
commit86587285cbd5292b28ee51d42210b50623c3f9f3 (patch)
tree956b40efafee78ae8e125c538bd02c92d2acae76 /vulkan/libvulkan/api.cpp
parent6cd19a422afe967eb20c5c3eee2b36a29f52c495 (diff)
Use static bool instead of define
The defines for debugging prevent compilers from compiling the code, as well as make the code harder to read due to identation. Using static bools helps ensure that the code inside the debugging logic compiles, and a decent compiler should be able to remove the dead code anyways. Test: adb logcat and inspect the InputDispatcher logs for when debugging is true Bug: 70668286 Change-Id: If1a057da4193f965e35d2ca7c1bf39249b9222fa
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions