summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2020-03-09 16:11:00 -0700
committer Alec Mouri <alecmouri@google.com> 2020-03-09 17:33:22 -0700
commit8e82b8d99e9ffb73bf3bb3c7c6aaa956e2228a41 (patch)
treeb00fa5b79f5fabcdde8e082c9c98d084296f186a /vulkan/libvulkan/api.cpp
parent1c7bc86a9b1bdf16b240a96d083102127f036325 (diff)
[RenderEngine] Fix use-after-move error
GLESREnderEngine::waitFence takes ownership of the file descriptor, so callers must dup it first. Otherwise, this results in a use-after-free error on devices that do not support EGL_ANDROID_native_fence_sync. Bug: 150954608 Test: WITH_TIDY=1 m -j Change-Id: I7e6d88c0f282a317fd8e603dccb918f3d5bc0fcc
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions