Use VLOG_IF for logging "Swapchain is suboptimal"
Bug: 40940282 Change-Id: I84beac1b08f161d1b41d4ef042a8f52f553c9090 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5628491 Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Reviewed-by: Peng Huang <penghuang@chromium.org> Cr-Commit-Position: refs/heads/main@{#1314957}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
ba7e14c3b3
commit
fd7af9cd93
@ -397,7 +397,7 @@ bool VulkanSwapChain::PresentBuffer(const gfx::Rect& rect) {
|
||||
return false;
|
||||
}
|
||||
|
||||
LOG_IF(WARNING, result == VK_SUBOPTIMAL_KHR) << "Swapchain is suboptimal.";
|
||||
VLOG_IF(2, result == VK_SUBOPTIMAL_KHR) << "Swapchain is suboptimal.";
|
||||
acquired_image_.reset();
|
||||
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user