Switch to TerraFX.Interop.Windows in unit tests
このコミットが含まれているのは:
1 親
cc56d748c7
コミット
96d42f94c3
19ファイル変更
+120
-183
検索条件に一致するファイルはありません
@@ -2,13 +2,11 @@ using System;
|
||||
using System.Threading.Tasks;
|
||||
using ComputeSharp.Interop;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using Win32;
|
||||
using Win32.Graphics.Direct3D12;
|
||||
using TerraFX.Interop.DirectX;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Tests.DeviceLost.Helpers;
|
||||
|
||||
using Win32 = Win32.Apis;
|
||||
|
||||
/// <summary>
|
||||
/// A helper to do common checks on native device objects.
|
||||
/// </summary>
|
||||
@@ -23,7 +21,7 @@ internal static class GraphicsDeviceHelper
|
||||
{
|
||||
fixed (ID3D12Device** ppvObject = d3D12Device)
|
||||
{
|
||||
InteropServices.GetID3D12Device(graphicsDevice, Win32.__uuidof<ID3D12Device>(), (void**)ppvObject);
|
||||
InteropServices.GetID3D12Device(graphicsDevice, Windows.__uuidof<ID3D12Device>(), (void**)ppvObject);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする