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;