Use v1.0 GL.ClearDepth(double) instead of v4.1 GL.ClearDepth(float).
This commit is contained in:
parent
967eb64ed6
commit
45083fb996
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue