From 98eb869a6d14efc4917d1b650b0a121da4bcee9e Mon Sep 17 00:00:00 2001 From: stanleyljl <798080536@qq.com> Date: Tue, 10 Oct 2023 17:44:55 +0800 Subject: [PATCH] fix clang tidy --- native/cocos/renderer/pipeline/custom/NativePipeline.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/native/cocos/renderer/pipeline/custom/NativePipeline.cpp b/native/cocos/renderer/pipeline/custom/NativePipeline.cpp index efb666c8289..25da497d7a9 100644 --- a/native/cocos/renderer/pipeline/custom/NativePipeline.cpp +++ b/native/cocos/renderer/pipeline/custom/NativePipeline.cpp @@ -1157,7 +1157,8 @@ void NativePipeline::addBuiltinGpuCullingPass(uint32_t cullingID, const auto width = static_cast(size.x) / 2; const auto height = static_cast(size.y) / 2; const geometry::Frustum *frustum = nullptr; - Mat4 viewMat, projMat; + Mat4 viewMat; + Mat4 projMat; uint32_t perspective = 1; float nearPlane = 0.1F; float farPlane = 1000.0F;