VideoCommon: update texture asset to properly set near sampler state value

This commit is contained in:
iwubcode 2024-05-31 23:29:08 -05:00
parent f49659fbfc
commit 75a0a1ed67

View File

@ -78,11 +78,11 @@ bool ParseSampler(const VideoCommon::CustomAssetLibrary::AssetID& asset_id,
sampler->tm0.mag_filter = FilterMode::Linear;
sampler->tm0.mipmap_filter = FilterMode::Linear;
}
else if (sampler_state_filter == "point")
else if (sampler_state_filter == "near")
{
sampler->tm0.min_filter = FilterMode::Linear;
sampler->tm0.mag_filter = FilterMode::Linear;
sampler->tm0.mipmap_filter = FilterMode::Linear;
sampler->tm0.min_filter = FilterMode::Near;
sampler->tm0.mag_filter = FilterMode::Near;
sampler->tm0.mipmap_filter = FilterMode::Near;
}
else
{