From 226d631dce6c50264d55a495f946819749994f43 Mon Sep 17 00:00:00 2001 From: lay295 Date: Thu, 20 Aug 2020 22:16:43 -0400 Subject: [PATCH] Forgot to remove optimizations --- TwitchDownloaderCore/ChatRenderer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TwitchDownloaderCore/ChatRenderer.cs b/TwitchDownloaderCore/ChatRenderer.cs index ed625b60..9b6673d7 100644 --- a/TwitchDownloaderCore/ChatRenderer.cs +++ b/TwitchDownloaderCore/ChatRenderer.cs @@ -426,7 +426,7 @@ private void RenderVideo(ChatRenderOptions renderOptions, Queue 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);