Exemple #1
0
 public override void Dispose()
 {
     if (!disposed)
     {
         disposed = true;
         GLFW.SetWindowShouldClose(window, true);
     }
 }
Exemple #2
0
        protected override void Shutdown()
        {
            input.Dispose();

            foreach (var window in windowPointers)
            {
                GLFW.SetWindowShouldClose(window, true);
            }

            Poll(); // this will actually close the Windows
        }