Removed unnecessary code
このコミットが含まれているのは:
1 親
05b9f22cea
コミット
d084d7bc24
6ファイル変更
+1
-166
検索条件に一致するファイルはありません
@@ -2,13 +2,12 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
using DirectX12GameEngine.Core;
|
||||
using SharpDX.Direct3D;
|
||||
using SharpDX.Direct3D12;
|
||||
|
||||
namespace DirectX12GameEngine.Graphics
|
||||
{
|
||||
public sealed class GraphicsDevice : IDisposable, ICollector
|
||||
public sealed class GraphicsDevice : IDisposable
|
||||
{
|
||||
private readonly AutoResetEvent fenceEvent = new AutoResetEvent(false);
|
||||
private SharpDX.Direct3D11.Device? nativeDirect3D11Device;
|
||||
@@ -53,8 +52,6 @@ namespace DirectX12GameEngine.Graphics
|
||||
|
||||
public CommandList CopyCommandList { get; }
|
||||
|
||||
public ICollection<IDisposable> Disposables { get; } = new List<IDisposable>();
|
||||
|
||||
public FeatureLevel FeatureLevel { get; }
|
||||
|
||||
public GraphicsPresenter? Presenter { get; set; }
|
||||
@@ -163,11 +160,6 @@ namespace DirectX12GameEngine.Graphics
|
||||
NativeDirectFence.Dispose();
|
||||
NativeDirectFence.Dispose();
|
||||
|
||||
foreach (IDisposable disposable in Disposables)
|
||||
{
|
||||
disposable.Dispose();
|
||||
}
|
||||
|
||||
nativeDirect3D11Device?.Dispose();
|
||||
|
||||
NativeDevice.Dispose();
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする