Apply some clang-tidy fixes (#5281)
This commit is contained in:
@@ -349,7 +349,7 @@ VulkanAttachment VulkanSwapChain::getColorAttachment() const {
|
||||
}
|
||||
|
||||
VulkanAttachment VulkanSwapChain::getDepthAttachment() const {
|
||||
VulkanTexture& tex = *this->mDepth.get();
|
||||
VulkanTexture& tex = *this->mDepth;
|
||||
return VulkanAttachment { .texture = &tex, .level = 0, .layer = 0 };
|
||||
}
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#define TNT_UTILS_INVOKABLE_H
|
||||
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user