Fusion.Drivers.Graphics.GraphicsDevice.Present C# (CSharp) Method

Present() private method

private Present ( int syncInterval ) : void
syncInterval int
return void
		internal void Present ( int syncInterval )
		{
			syncInterval	=	MathUtil.Clamp( syncInterval, 0, 3 );

			lock (deviceContext) {
				if (requestScreenShotPath != null ) {

					var path = requestScreenShotPath;
					requestScreenShotPath = null;

					BackbufferColor.SaveToFile( path );
					Log.Message("screenshot saved: {0}", path );
				}

				display.SwapBuffers( syncInterval );

				display.Update();
			}
		}