Skip to content

Commit

Permalink
Fix incorrect assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
neatodev committed Nov 1, 2022
1 parent 23415f4 commit 7b94a18
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Data/Display/IniWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -458,14 +458,6 @@ private void WriteBmEngineAdvanced()
Nlog.Info("WriteBmEngineAdvanced - Set MVSS Coverage to {0}", IniHandler.BmEngineData["SystemSettings"]["MultiViewSoftShadowDepthBiasScale"]);

// Shadow Draw Distance
IniHandler.BmEngineData["SystemSettings"]["ShadowTexelsPerPixel"] = Program.MainWindow.ShadowDrawDistBox.SelectedIndex switch
{
1 => "1.500000",
2 => "2.000000",
3 => "4.000000",
_ => "1.000000",
};

switch (Program.MainWindow.ShadowDrawDistBox.SelectedIndex)
{
case 1:
Expand Down Expand Up @@ -513,7 +505,7 @@ private void WriteBmEngineAdvanced()
break;
case 4:
IniHandler.BmEngineData["TextureStreaming"]["PoolSize"] = "4096";
IniHandler.BmEngineData["TextureStreaming"]["MemoryMargin"] = "32";
IniHandler.BmEngineData["TextureStreaming"]["MemoryMargin"] = "64";
break;
case 5:
IniHandler.BmEngineData["TextureStreaming"]["PoolSize"] = "0";
Expand Down

0 comments on commit 7b94a18

Please sign in to comment.