Switch to TerraFX.Interop.Windows in unit tests

このコミットが含まれているのは:
Sergio Pedri committed 2023-10-12 22:09:34 +02:00
1 親 cc56d748c7
コミット 96d42f94c3
19ファイル変更
+120 -183

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

+3 -5
ファイルの表示
@@ -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);
}
}