mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-10-30 03:37:52 +00:00
Apply clang-format-18
This commit is contained in:
parent
ff0aab06dc
commit
4614cc2e15
2 changed files with 3 additions and 3 deletions
|
@ -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());
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue