Restore <TreatWarningsAsErrors> and fix warnings

このコミットが含まれているのは:
Sergio Pedri committed 2021-11-20 16:48:18 +01:00
1 親 ec901922db
コミット d8a4a7412d
25ファイル変更
+49 -35

検索条件に一致するファイルはありません

+1 -1
ファイルの表示
@@ -76,7 +76,7 @@ internal sealed class SwapChainApplication<T> : Win32Application
private bool isResizePending;
/// <summary>
/// Creates a new <see cref="SwapChainApplication"/> instance with the specified parameters.
/// Creates a new <see cref="SwapChainApplication{T}"/> instance with the specified parameters.
/// </summary>
/// <param name="shaderFactory">The <see cref="Func{T1, TResult}"/> instance used to create shaders to run.</param>
public SwapChainApplication(Func<TimeSpan, T> shaderFactory)
+3 -6
ファイルの表示
@@ -39,13 +39,10 @@ internal unsafe static class Win32ApplicationRunner
private static Thread renderThread = null!;
/// <summary>
/// Runs a specified application and starts the main loop to update its state.
/// This is the entry point for a given application of type <typeparamref name="T"/>, and it should be
/// called as soon as the process is launched, excluding any other additional initialization needed.
/// <para>To launch an application, simply add this line to the project being used:</para>
/// <c>Win32ApplicationRunner.Run&lt;MyApplication>();</c>
/// 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.
/// </summary>
/// <typeparam name="T">The type of application being launched.</typeparam>
/// <param name="application">The input application instance to run.</param>
/// <returns>The exit code for the application.</returns>
public static int Run(Win32Application application)
{