Remove ThrowHelper APIs in D2D1 projects, switch to new extensions
このコミットが含まれているのは:
1 親
5a4fd9a4ce
コミット
92fbf75185
17ファイル変更
+87
-194
検索条件に一致するファイルはありません
@@ -35,7 +35,7 @@ internal struct ShaderBytecodeLoader : IBytecodeLoader
|
||||
public unsafe void LoadDynamicBytecode(IntPtr handle)
|
||||
{
|
||||
default(InvalidOperationException).ThrowIf(this.cachedShader is not null);
|
||||
default(InvalidOperationException).ThrowIf(handle == IntPtr.Zero);
|
||||
default(NotSupportedException).ThrowIf(handle == IntPtr.Zero);
|
||||
|
||||
this.cachedShader = new ICachedShader.Dynamic((IDxcBlob*)handle);
|
||||
}
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする