From 066165f957dfb00936547a89afbcd29fd75fd4f2 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Mon, 7 Nov 2022 23:09:23 +0100 Subject: [PATCH] Remove unnecessary method --- .../Backend/Win32ApplicationRunner.cs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/samples/ComputeSharp.SwapChain/Backend/Win32ApplicationRunner.cs b/samples/ComputeSharp.SwapChain/Backend/Win32ApplicationRunner.cs index 03b2b226..04a35bed 100644 --- a/samples/ComputeSharp.SwapChain/Backend/Win32ApplicationRunner.cs +++ b/samples/ComputeSharp.SwapChain/Backend/Win32ApplicationRunner.cs @@ -1,7 +1,6 @@ using System; using System.Diagnostics; using System.Drawing; -using System.Reflection; using System.Runtime.InteropServices; using System.Threading; using TerraFX.Interop.Windows; @@ -38,17 +37,6 @@ internal static unsafe class Win32ApplicationRunner /// private static Thread renderThread = null!; - /// - /// Runs a specified application and starts the main loop to update its state. This is the entry point for a given application, - /// and it should be called as soon as the process is launched, excluding any other additional initialization needed. - /// - /// The input application instance to run. - /// The exit code for the application. - public static int Run(Win32Application application) - { - return Run(application, Assembly.GetExecutingAssembly().FullName ?? "ComputeSharp"); - } - /// /// Runs a specified application and starts the main loop to update its state. This is the entry point for a given application, /// and it should be called as soon as the process is launched, excluding any other additional initialization needed.