Commit c750129e by Shahbaz Youssefi Committed by Commit Bot

Vulkan: Remove inappropriate use of VK_NULL_HANDLE

A change in Vulkan-Headers changes the value of VK_NULL_HANDLE, exposing an invalid usage in ANGLE, which is fixed in this change. Bug: angleproject:5879 Change-Id: I136fdc9e707650a060eaee062c7cf8cf24d9e8b2 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2831998Reviewed-by: 's avatarTim Van Patten <timvp@google.com> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
parent a37d9748
...@@ -122,7 +122,7 @@ void CommandProcessorTask::initProcessCommands(CommandBufferHelper *commandBuffe ...@@ -122,7 +122,7 @@ void CommandProcessorTask::initProcessCommands(CommandBufferHelper *commandBuffe
void CommandProcessorTask::copyPresentInfo(const VkPresentInfoKHR &other) void CommandProcessorTask::copyPresentInfo(const VkPresentInfoKHR &other)
{ {
if (other.sType == VK_NULL_HANDLE) if (other.sType == 0)
{ {
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment