diff --git a/examples/triangle/triangle.cpp b/examples/triangle/triangle.cpp index 31b04124..00fac1d8 100644 --- a/examples/triangle/triangle.cpp +++ b/examples/triangle/triangle.cpp @@ -999,7 +999,6 @@ public: pipelineCreateInfo.pMultisampleState = &multisampleState; pipelineCreateInfo.pViewportState = &viewportState; pipelineCreateInfo.pDepthStencilState = &depthStencilState; - pipelineCreateInfo.renderPass = renderPass; pipelineCreateInfo.pDynamicState = &dynamicState; // Create rendering pipeline using the specified states