From 36349f667f309de279825673f20aa8bfdf27cee3 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Mon, 30 May 2011 12:31:39 +0000 Subject: [PATCH] Use v1.0 GL.ClearDepth(double) instead of v4.1 GL.ClearDepth(float). --- Source/Examples/OpenGL/1.x/FramebufferObject.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Examples/OpenGL/1.x/FramebufferObject.cs b/Source/Examples/OpenGL/1.x/FramebufferObject.cs index dfa8a9f4..00b50762 100644 --- a/Source/Examples/OpenGL/1.x/FramebufferObject.cs +++ b/Source/Examples/OpenGL/1.x/FramebufferObject.cs @@ -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);