[Minor] Remove small duplication in triangle.cpp

Remove a line of duplication in `void preparePipelines()` of triangle.cpp.
This commit is contained in:
Longer Long 2021-12-06 10:40:07 -05:00 committed by GitHub
parent 313ac10de4
commit a78f139563
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -999,7 +999,6 @@ public:
pipelineCreateInfo.pMultisampleState = &multisampleState; pipelineCreateInfo.pMultisampleState = &multisampleState;
pipelineCreateInfo.pViewportState = &viewportState; pipelineCreateInfo.pViewportState = &viewportState;
pipelineCreateInfo.pDepthStencilState = &depthStencilState; pipelineCreateInfo.pDepthStencilState = &depthStencilState;
pipelineCreateInfo.renderPass = renderPass;
pipelineCreateInfo.pDynamicState = &dynamicState; pipelineCreateInfo.pDynamicState = &dynamicState;
// Create rendering pipeline using the specified states // Create rendering pipeline using the specified states