1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-25 01:57:47 +01:00
This commit is contained in:
FunkyFr3sh 2023-08-13 12:51:38 +02:00
parent d7a173b0da
commit 694b5d1cae

View File

@ -584,7 +584,6 @@ void __fastcall TConfigForm::AdvancedBtnClick(TObject *Sender)
CompatibilityPnl->Visible = false; CompatibilityPnl->Visible = false;
} }
void __fastcall TConfigForm::HotkeyBtnClick(TObject *Sender) void __fastcall TConfigForm::HotkeyBtnClick(TObject *Sender)
{ {
HotkeyPnl->Visible = true; HotkeyPnl->Visible = true;
@ -676,7 +675,7 @@ void __fastcall TConfigForm::FormCreate(TObject *Sender)
else if (StartsStr("d", renderer)) { else if (StartsStr("d", renderer)) {
RendererCbx->ItemIndex = 1; RendererCbx->ItemIndex = 1;
ShaderLbl->Caption = ShaderLbl->Caption =
ReplaceStr(ShaderLbl->Caption, "OpenGL", "Direct3D"); ReplaceStr(ShaderLbl->Caption, "OpenGL", "Direct3D");
ShaderD3DCbx->Visible = true; ShaderD3DCbx->Visible = true;
@ -1029,7 +1028,6 @@ void TConfigForm::SaveSettings()
delete ini; delete ini;
} }
void __fastcall TConfigForm::FormActivate(TObject *Sender) void __fastcall TConfigForm::FormActivate(TObject *Sender)
{ {
/* Detect wine (Linux/macOS) and create the needed dll override */ /* Detect wine (Linux/macOS) and create the needed dll override */