summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author chaviw <chaviw@google.com> 2019-09-03 12:40:22 -0700
committer chaviw <chaviw@google.com> 2019-09-06 16:42:13 -0700
commitb34c911a8bd37e773290261dc7e9969dbe8dabef (patch)
treea4d323f333634ea7a88e3faecb755a6ed800420b /vulkan/libvulkan/api.cpp
parentd6536aa908a82d909b99d81012fd3b258faf0d84 (diff)
Use getLayerStack() instead of layerStack for input info
When there's no displayId, the layerStack should be used. The current code was using mDrawingState.layerStack which is incorrect because only the layerStack for the root of the tree is correct. Instead, use getLayerStack() which traverses the hierarchy to find the root's layerStack. Test: Uses correct layerStack instead of 0 for input with unset displayIds Fixes: 140312942 Change-Id: Ic8a06c562e970b0f328c539edfa51e206734934f Merged-in: Ic8a06c562e970b0f328c539edfa51e206734934f
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions