public void Present() { // We cannot present with a RT set on the device. if (_currentRenderTargetCount != 0) { throw new InvalidOperationException("Cannot call Present when a render target is active."); } _graphicsMetrics = new GraphicsMetrics(); PlatformPresent(); }
public void Present() { _graphicsMetrics = new GraphicsMetrics(); PlatformPresent(); }