File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1564,19 +1564,17 @@ SK::ControlPanel::D3D11::Draw (void)
15641564 config.utility .save_async_if (changed);
15651565 }
15661566
1567- if (! config.reshade .is_addon )
1567+ // This only works when we have wrapped SwapChains
1568+ if ( ReadAcquire (&SK_DXGI_LiveWrappedSwapChains) != 0 ||
1569+ ReadAcquire (&SK_DXGI_LiveWrappedSwapChain1s) != 0 )
15681570 {
1569- // This only works when we have wrapped SwapChains
1570- if ( ReadAcquire (&SK_DXGI_LiveWrappedSwapChains) != 0 ||
1571- ReadAcquire (&SK_DXGI_LiveWrappedSwapChain1s) != 0 )
1572- {
1573- if (d3d11 && !indirect) ImGui::SameLine ();
1571+ if (d3d11 && !indirect)
1572+ ImGui::SameLine ();
15741573
1575- OSD::DrawVideoCaptureOptions ();
1576- }
1574+ OSD::DrawVideoCaptureOptions ();
15771575 }
15781576
1579- else
1577+ if (config. reshade . is_addon )
15801578 {
15811579 if (d3d11 && !indirect)
15821580 ImGui::SameLine ();
@@ -1614,7 +1612,7 @@ SK::ControlPanel::D3D11::Draw (void)
16141612 {
16151613 ImGui::SameLine ();
16161614
1617- if (ImGui::TreeNode (" Advanced ( Debug) ###Advanced_D3D11 " ))
1615+ if (ImGui::TreeNode (" Debug###Debug_D3D11 " ))
16181616 {
16191617 ImGui::TreePop ();
16201618 ImGui::Separator ();
You can’t perform that action at this time.
0 commit comments