Source

gltut / Tut 05 Objects in Depth / VertexClipping.cpp

Diff from to

Tut 05 Objects in Depth/VertexClipping.cpp

 	glFrontFace(GL_CW);
 
 	glEnable(GL_DEPTH_TEST);
+	glDepthMask(GL_TRUE);
 	glDepthFunc(GL_LESS);
 	glDepthRange(0.0f, 1.0f);
 }