private void RenderTick(TimeSpan time) { if (_isDisposed | !_hasNewFrame) { return; } lock (_globalUIThreadUpdateLock) lock (_bitmapSync) { TargetControl?.InvalidateVisual(); _hasNewFrame = false; } }
private void RenderTick(TimeSpan time) { if (_isDisposed | !_hasNewFrame) { return; } lock (_globalUIThreadUpdateLock) lock (_bitmapSync) { TargetControl?.InvalidateVisual(); _hasNewFrame = false; } }