Apply clang-format-18

This commit is contained in:
Reg Tiangha 2024-05-21 21:54:33 -06:00 committed by OpenSauce
parent ff0aab06dc
commit 4614cc2e15
2 changed files with 3 additions and 3 deletions

View File

@ -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());

View File

@ -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;