Use blocks for all if statements

このコミットが含まれているのは:
Sergio Pedri committed 2022-10-15 09:10:18 -07:00
1 親 7a7f6be038
コミット d910922ef5
28ファイル変更
+239 -59

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

+2
ファイルの表示
@@ -240,6 +240,7 @@ internal sealed unsafe partial class SwapChainManager<TOwner> : NativeObject
// Extract the ISwapChainPanelNative reference from the current panel, then query the
// IDXGISwapChain reference just created and set that as the swap chain panel to use.
fixed (ISwapChainPanelNative** swapChainPanelNative = this.swapChainPanelNative)
{
using (ComPtr<IUnknown> swapChainPanel = default)
{
#if WINDOWS_UWP
@@ -254,6 +255,7 @@ internal sealed unsafe partial class SwapChainManager<TOwner> : NativeObject
(void**)swapChainPanelNative).Assert();
#endif
}
}
// Get the underlying ID3D12Device in use
fixed (ID3D12Device** d3D12Device = this.d3D12Device)