Update AA/aniso dropdowns when changing renderer.

This commit is contained in:
Nick Blakely 2020-09-22 22:22:15 -07:00
parent 80343ee84b
commit 4a449e12a6
3 changed files with 4 additions and 2 deletions

View File

@ -42,7 +42,7 @@ SetCompressor /SOLID lzma
; MUI end ------
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
OutFile "Output\GPatch1_498_209_0.exe"
OutFile "Output\GPatch1_498_212_0.exe"
InstallDir "$PROGRAMFILES\Giants\"
InstallDirRegKey HKCU "SOFTWARE\PlanetMoon\Giants" "DestDir"
ShowInstDetails hide

View File

@ -20,7 +20,6 @@ namespace Giants.Launcher
private const string GamePath = "GiantsMain.exe";
private const string RegistryKey = @"HKEY_CURRENT_USER\Software\PlanetMoon\Giants";
private const string RegistryValue = "DestDir";
private const string BaseUrl = "https://giants.azurewebsites.net"; // TODO: Read from file
private readonly HttpClient httpClient;
private readonly VersionClient versionHttpClient;

View File

@ -213,6 +213,9 @@ namespace Giants.Launcher
this.chkTripleBuffering.Checked = GameSettings.Get<int>(RegistryKeys.TripleBuffering) == 1;
this.chkTripleBuffering.Enabled = true;
}
this.PopulateAntialiasing();
this.PopulateAnisotropy();
}
private void btnOK_Click(object sender, EventArgs e)