private void RenderLoop()
        {
            _window.Context.MakeCurrent(_window.WindowInfo);

            while (_profilerRunning)
            {
                _window.Draw();
                Thread.Sleep(1);
            }
        }