/// <summary>
        ///
        /// </summary>
        internal void Present()
        {
            lock (deviceContext) {
                if (requestScreenShotPath != null)
                {
                    var path = requestScreenShotPath;
                    requestScreenShotPath = null;

                    BackbufferColor.SaveToFile(path);
                }

                display.SwapBuffers(Game.Parameters.VSyncInterval);

                display.Update();
            }
        }
Exemple #2
0
 /// <summary>
 ///
 /// </summary>
 internal void Prepare()
 {
     display.Update();
 }