forked from bit/DotRecastNetSim
remove comment
This commit is contained in:
parent
6391b3b243
commit
65dd1f2836
|
@ -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}");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue