From 65dd1f283653e00bef7aa54c97444b04e4a3bf8a Mon Sep 17 00:00:00 2001 From: ikpil Date: Mon, 1 May 2023 22:42:01 +0900 Subject: [PATCH] remove comment --- src/DotRecast.Recast.Demo/RecastDemo.cs | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/src/DotRecast.Recast.Demo/RecastDemo.cs b/src/DotRecast.Recast.Demo/RecastDemo.cs index 3f4d347..16d8e53 100644 --- a/src/DotRecast.Recast.Demo/RecastDemo.cs +++ b/src/DotRecast.Recast.Demo/RecastDemo.cs @@ -714,17 +714,8 @@ public class RecastDemo _imgui.Update((float)dt); } - private unsafe void OnWindowRender(double dt) + private void OnWindowRender(double dt) { - // _gl.ClearColor(Color.CadetBlue); - // _gl.Clear(ClearBufferMask.ColorBufferBit); - - // Set the viewport. - // glViewport(0, 0, width, height); - //_gl.Viewport(0, 0, (uint)width, (uint)height); - //viewport = new int[] { 0, 0, width, height }; - // glGetIntegerv(GL_VIEWPORT, viewport); - // Clear the screen dd.clear(); projectionMatrix = dd.projectionMatrix(50f, (float)width / (float)height, 1.0f, camr); @@ -746,10 +737,4 @@ public class RecastDemo window.SwapBuffers(); } - - - private void ErrorCallback(Silk.NET.GLFW.ErrorCode code, string message) - { - Console.WriteLine($"GLFW error [{code}]: {message}"); - } }