remove comment

This commit is contained in:
ikpil 2023-05-01 22:42:01 +09:00
parent 6391b3b243
commit 65dd1f2836
1 changed files with 1 additions and 16 deletions

View File

@ -714,17 +714,8 @@ public class RecastDemo
_imgui.Update((float)dt); _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 // Clear the screen
dd.clear(); dd.clear();
projectionMatrix = dd.projectionMatrix(50f, (float)width / (float)height, 1.0f, camr); projectionMatrix = dd.projectionMatrix(50f, (float)width / (float)height, 1.0f, camr);
@ -746,10 +737,4 @@ public class RecastDemo
window.SwapBuffers(); window.SwapBuffers();
} }
private void ErrorCallback(Silk.NET.GLFW.ErrorCode code, string message)
{
Console.WriteLine($"GLFW error [{code}]: {message}");
}
} }