From 4614cc2e15e6f772d282000d00e5ec33d371ea7c Mon Sep 17 00:00:00 2001 From: Reg Tiangha Date: Tue, 21 May 2024 21:54:33 -0600 Subject: [PATCH] Apply clang-format-18 --- src/lime_qt/main.cpp | 2 +- src/video_core/renderer_opengl/renderer_opengl.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lime_qt/main.cpp b/src/lime_qt/main.cpp index 8caf078b5..2f8c998ad 100644 --- a/src/lime_qt/main.cpp +++ b/src/lime_qt/main.cpp @@ -3470,7 +3470,7 @@ void GMainWindow::SyncMenuUISettings() { ui->action_Screen_Layout_Separate_Windows->setChecked( Settings::values.layout_option.GetValue() == Settings::LayoutOption::SeparateWindows); ui->action_Screen_Layout_Custom_Layout->setChecked(Settings::values.layout_option.GetValue() == - Settings::LayoutOption::CustomLayout); + Settings::LayoutOption::CustomLayout); ui->action_Screen_Layout_Swap_Screens->setChecked(Settings::values.swap_screen.GetValue()); ui->action_Screen_Layout_Upright_Screens->setChecked( Settings::values.upright_screen.GetValue()); diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp index d30049e88..acca340f0 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.cpp +++ b/src/video_core/renderer_opengl/renderer_opengl.cpp @@ -697,7 +697,7 @@ void RendererOpenGL::DrawScreens(const Layout::FramebufferLayout& layout, bool f void RendererOpenGL::ApplySecondLayerOpacity() { if ((Settings::values.layout_option.GetValue() == Settings::LayoutOption::CustomLayout || - Settings::values.custom_layout) && + Settings::values.custom_layout) && Settings::values.custom_second_layer_opacity.GetValue() < 100) { state.blend.src_rgb_func = GL_CONSTANT_ALPHA; state.blend.src_a_func = GL_CONSTANT_ALPHA; @@ -709,7 +709,7 @@ void RendererOpenGL::ApplySecondLayerOpacity() { void RendererOpenGL::ResetSecondLayerOpacity() { if ((Settings::values.layout_option.GetValue() == Settings::LayoutOption::CustomLayout || - Settings::values.custom_layout) && + Settings::values.custom_layout) && Settings::values.custom_second_layer_opacity.GetValue() < 100) { state.blend.src_rgb_func = GL_ONE; state.blend.dst_rgb_func = GL_ZERO;