can you check if its getting through the ifsupported and into the pause?
can you check if its getting through the ifsupported and into the pause?
X86Base.IsSupportedpause cpu instructionpause"?Older CPUs will simply do nothing (NOP) as fast as possible.yeah potentially
pause is simply not taken into account


Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Silk.NET.GLFW.Glfw.WindowShouldClose(Silk.NET.GLFW.WindowHandle*)
at Tutorial.Program.XRun(Silk.NET.Windowing.IWindow)
at Tutorial.Program.Main(System.String[])X86Base.IsSupportedpausepausepauseconst double loopsPerSecond = 10000;
var timer = new BreakneckSleep(TimeSpan.FromSeconds(1 / loopsPerSecond));
window.Initialize();
while (!window.IsClosing)
{
window.DoEvents();
if (!window.IsClosing)
{
window.DoUpdate();
}
if (!window.IsClosing)
{
window.DoRender();
}
timer.Sleep();
}
window.DoEvents();
window.Reset();