Skip to content

Commit

Permalink
Remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalh committed Feb 9, 2025
1 parent 02d308e commit 28d146a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions launcher/OptionsGraphicsDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,6 @@ BOOL OptionsGraphicsDlg::OnInitDialog()
// Attach controls
AttachItem(IDC_MSAA_COMBO, m_msaa_combo);

// Graphics
UpdateMsaaCombo();
UpdateAnisotropyCheckbox();
CheckDlgButton(IDC_FAST_ANIMS_CHECK, m_conf.fast_anims ? BST_CHECKED : BST_UNCHECKED);
CheckDlgButton(IDC_DISABLE_LOD_CHECK, m_conf.disable_lod_models ? BST_CHECKED : BST_UNCHECKED);
CheckDlgButton(IDC_HIGH_SCANNER_RES_CHECK, m_conf.high_scanner_res ? BST_CHECKED : BST_UNCHECKED);
CheckDlgButton(IDC_HIGH_MON_RES_CHECK, m_conf.high_monitor_res ? BST_CHECKED : BST_UNCHECKED);
CheckDlgButton(IDC_TRUE_COLOR_TEXTURES_CHECK, m_conf.true_color_textures ? BST_CHECKED : BST_UNCHECKED);
CheckDlgButton(IDC_MESH_STATIC_LIGHTING_CHECK, m_conf.mesh_static_lighting ? BST_CHECKED : BST_UNCHECKED);

InitToolTip();

UpdateMsaaCombo();
Expand Down

0 comments on commit 28d146a

Please sign in to comment.