Skip to content

Commit

Permalink
Update technique sorting
Browse files Browse the repository at this point in the history
Last update to the sorting for now (hopefully).
  • Loading branch information
BC46 committed Dec 10, 2024
1 parent 1df2855 commit d83d468
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mod_options.iss
Original file line number Diff line number Diff line change
Expand Up @@ -1324,13 +1324,12 @@ begin
if (DisplayMode.ItemIndex = 1) or (DisplayMode.ItemIndex = 2) then
// Use Tonemap only if windowed or fullscreen windowed have been checked
Techniques := Techniques + '[email protected],';
if SharpeningChecked then
Techniques := Techniques + '[email protected],';
// Enable the Deband shader by default because it's crucial for Freelancer
Techniques := Techniques + '[email protected],';
if SharpeningChecked then
Techniques := Techniques + '[email protected],';
// Removes a trailing comma at the end of the techniques if it's there
if (LENGTH(Techniques) > 0) and (Techniques[LENGTH(Techniques)] = ',') then
SetLength(Techniques, LENGTH(Techniques) - 1);
Expand Down

0 comments on commit d83d468

Please sign in to comment.