Skip to content

Commit

Permalink
Forgot to remove optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
lay295 committed Aug 21, 2020
1 parent 6cb9b2b commit 226d631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TwitchDownloaderCore/ChatRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ private void RenderVideo(ChatRenderOptions renderOptions, Queue<TwitchComment> f
progress.Report(new ProgressReport() { reportType = ReportType.Log, data = $"FINISHED. RENDER TIME: {(int)stopwatch.Elapsed.TotalSeconds}s SPEED: {(duration / stopwatch.Elapsed.TotalSeconds).ToString("0.##")}x" });
process.WaitForExit();
}

[MethodImpl(MethodImplOptions.NoOptimization | MethodImplOptions.NoInlining)]
private byte[] GetMaskBytes(SKBitmap bufferBitmap, ChatRenderOptions renderOptions)
{
SKBitmap maskBitmap = new SKBitmap(renderOptions.ChatWidth, renderOptions.ChatHeight);
Expand Down

0 comments on commit 226d631

Please sign in to comment.