diff --git a/cocos/renderer/CCPipelineDescriptor.h b/cocos/renderer/CCPipelineDescriptor.h index b5c2bbe8f6..d5da8e280b 100644 --- a/cocos/renderer/CCPipelineDescriptor.h +++ b/cocos/renderer/CCPipelineDescriptor.h @@ -35,11 +35,9 @@ NS_CC_BEGIN -class CC_DLL PipelineDescriptor final +struct CC_DLL PipelineDescriptor { public: - PipelineDescriptor() = default; - backend::ProgramState* programState = nullptr; backend::BlendDescriptor blendDescriptor; backend::RenderPassDescriptor renderPassDescriptor;