diff --git a/examples/triangle/triangle.cpp b/examples/triangle/triangle.cpp
index 31b04124aba66bb1f570bf55a1b284cb468bf89b..00fac1d8485984c415fb671fa42f090bd5d349a2 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