Fix dynamic resolution when v-sync is enabled
このコミットが含まれているのは:
1 親
6c21561e6d
コミット
62a3129046
2ファイル変更
+26
-3
検索条件に一致するファイルはありません
@@ -389,12 +389,15 @@ internal sealed unsafe partial class SwapChainManager<TOwner> : NativeObject
|
||||
}
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
private unsafe partial void OnWaitForPresent()
|
||||
{
|
||||
_ = Win32.WaitForSingleObjectEx(frameLatencyWaitableObject, Win32.INFINITE, true);
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
private unsafe partial void OnPresent()
|
||||
{
|
||||
// Wait for the swap chain to be ready for presenting
|
||||
_ = Win32.WaitForSingleObjectEx(frameLatencyWaitableObject, Win32.INFINITE, true);
|
||||
|
||||
using ComPtr<ID3D12Resource> d3D12Resource = default;
|
||||
|
||||
// Get the underlying ID3D12Resource pointer for the texture
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする