// TODO: We need to expose the other Present() overloads // for passing source/dest rectangles. /// <summary> /// Displays the contents of the active back buffer to the screen. /// </summary> public void Present() { lock (GraphicsDevice._d3dContext) { try { _swapChain.Present(PresentInterval.GetSyncInterval(), PresentFlags.None); } catch (SharpDX.SharpDXException) { } } }
// TODO: We need to expose the other Present() overloads // for passing source/dest rectangles. /// <summary> /// Displays the contents of the active back buffer to the screen. /// </summary> public void Present() { lock (GraphicsDevice._d3dContext) { /*try * {*/ _swapChain.Present(PresentInterval.GetSyncInterval(), PresentFlags.None); /*} * catch (SharpDX.SharpDXException) * { * }*/ } }