Use v1.0 GL.ClearDepth(double) instead of v4.1 GL.ClearDepth(float).

This commit is contained in:
the_fiddler 2011-05-30 12:31:39 +00:00
parent 967eb64ed6
commit 45083fb996

View file

@ -45,7 +45,7 @@ namespace Examples.Tutorial
Object = new Shapes.TorusKnot(256, 16, 0.2, 7,8, 1, true);
GL.Enable(EnableCap.DepthTest);
GL.ClearDepth(1.0f);
GL.ClearDepth(1.0);
GL.DepthFunc(DepthFunction.Lequal);
GL.Enable(EnableCap.CullFace);