summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author chaviw <chaviw@google.com> 2019-10-14 09:17:12 -0700
committer chaviw <chaviw@google.com> 2019-10-14 10:31:44 -0700
commitbdb8b8043d0deed732182eca962657b52ccff6f3 (patch)
tree7e9038f48509cac4187d28ab6de3d8e3677adafb /vulkan/libvulkan/api.cpp
parentb92c27b6c019c5b9bf4f8b695535e26e70fd1b1b (diff)
Set isRelativeOf flag when calling setZOrderRelativeOf
The current code sets the isRelativeFlag to true when setRelativeLayer is called and false when setLayer is called. However, those two requests are only coming from client requests. There are places where zRelativeOf is removed for other reasons. Therefore, set isRelativeOf flag when calling setZOrderRelativeOf based on whether relativeOf is null or not. This will ensure it covers all places that zRelativeOf is updated. Fixes: 142534793 Test: RelativeZTest.LayerAndRelativeRemoved Change-Id: I338592f2e2e88598f2d8a4c0957b551da310a4bf
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions