Added resize logic for working texture

このコミットが含まれているのは:
Sergio Pedri committed 2021-02-22 21:48:52 +01:00
1 親 456a687969
コミット cd4f11893c
2ファイル変更
+10 -16

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

+1 -5
ファイルの表示
@@ -9,7 +9,7 @@ using FX = TerraFX.Interop.Windows;
namespace ComputeSharp.Sample.SwapChain
{
internal abstract class Win32Application : IDisposable
internal abstract class Win32Application
{
public abstract string Title { get; }
@@ -18,8 +18,6 @@ namespace ComputeSharp.Sample.SwapChain
public abstract void OnResize(Size size);
public abstract void OnUpdate(TimeSpan time);
public abstract void Dispose();
}
/// <summary>
@@ -158,8 +156,6 @@ namespace ComputeSharp.Sample.SwapChain
}
}
application.Dispose();
// Return this part of the WM_QUIT message to Windows
return (int)msg.wParam;
}