From 1df285576a3aebc6d5768eeeeecf6f0b3a3ef82a Mon Sep 17 00:00:00 2001 From: "C.S. Melis" Date: Sat, 16 Nov 2024 13:12:31 +0100 Subject: [PATCH] Enable DxWrapper by default on Wine --- ui.iss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui.iss b/ui.iss index 985d939..9c6b2b8 100644 --- a/ui.iss +++ b/ui.iss @@ -1536,8 +1536,8 @@ begin // Only check the planetscapes fix option if the user's aspect ratio is 16:9 PlanetScape.Checked := IsResWithinAspectRatioRange(Min16by9Factor, Max16by9Factor); - DgVoodooGraphicsApi.Checked := GpuManufacturer = NVIDIAOrOther; - DxWrapperGraphicsApi.Checked := GpuManufacturer = AMD; + DgVoodooGraphicsApi.Checked := (GpuManufacturer = NVIDIAOrOther) and (not IsWine); + DxWrapperGraphicsApi.Checked := (GpuManufacturer = AMD) or IsWine; DxWrapperAa.ItemIndex := 4; DxWrapperAf.ItemIndex := 5;