Remove ComPtr<T>.GetVoidAddressOf from D2D1 projects
このコミットが含まれているのは:
1 親
960ce21899
コミット
e89433da46
5ファイル変更
+7
-22
検索条件に一致するファイルはありません
@@ -44,7 +44,7 @@ public static class D2D1ReflectionServices
|
||||
pSrcData: hlslBytecodePtr,
|
||||
SrcDataSize: (nuint)hlslBytecode.Length,
|
||||
pInterface: Windows.__uuidof<ID3D11ShaderReflection>(),
|
||||
ppReflector: d3D11ShaderReflection.GetVoidAddressOf()).Assert();
|
||||
ppReflector: (void**)d3D11ShaderReflection.GetAddressOf()).Assert();
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -59,7 +59,7 @@ public static class D2D1ReflectionServices
|
||||
pSrcData: (byte*)dynamicBytecode.Get()->GetBufferPointer(),
|
||||
SrcDataSize: dynamicBytecode.Get()->GetBufferSize(),
|
||||
pInterface: Windows.__uuidof<ID3D11ShaderReflection>(),
|
||||
ppReflector: d3D11ShaderReflection.GetVoidAddressOf()).Assert();
|
||||
ppReflector: (void**)d3D11ShaderReflection.GetAddressOf()).Assert();
|
||||
}
|
||||
|
||||
D3D11_SHADER_DESC d3D11ShaderDescription;
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using ComputeSharp.D2D1.Extensions;
|
||||
using TerraFX.Interop.DirectX;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
@@ -89,7 +88,7 @@ internal static unsafe class ID2D1EffectContextExtensions
|
||||
pSrcData: bytecode,
|
||||
SrcDataSize: (uint)bytecodeSize,
|
||||
pInterface: Windows.__uuidof<ID3D11ShaderReflection>(),
|
||||
ppReflector: d3D11ShaderReflection.GetVoidAddressOf());
|
||||
ppReflector: (void**)d3D11ShaderReflection.GetAddressOf());
|
||||
|
||||
if (!Windows.SUCCEEDED(hresult))
|
||||
{
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする