diff --git a/Source/AssetRipper.GUI.Web/Pages/PremiumFeaturesPage.cs b/Source/AssetRipper.GUI.Web/Pages/PremiumFeaturesPage.cs index 3c68690d0..ad6515d28 100644 --- a/Source/AssetRipper.GUI.Web/Pages/PremiumFeaturesPage.cs +++ b/Source/AssetRipper.GUI.Web/Pages/PremiumFeaturesPage.cs @@ -50,7 +50,7 @@ public sealed class PremiumFeaturesPage : DefaultPage private static bool ShaderDecompilationSupported(IShader shader) { - return shader.GetPlatforms()?.Any(platform => platform is GPUPlatform.vulkan || platform.IsDirectX()) ?? false; + return shader.GetPlatforms()?.Any(platform => platform is GPUPlatform.vulkan || (platform.IsDirectX() && OperatingSystem.IsWindows())) ?? false; } private static FeatureStatus GetFeatureStatus(Func? needsFeatureFunction, Func? isSupportedFunction)