mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 15:19:09 +00:00
VideoCommon: update texture asset to properly set near sampler state value
This commit is contained in:
parent
f49659fbfc
commit
75a0a1ed67
1 changed files with 4 additions and 4 deletions
|
@ -78,11 +78,11 @@ bool ParseSampler(const VideoCommon::CustomAssetLibrary::AssetID& asset_id,
|
||||||
sampler->tm0.mag_filter = FilterMode::Linear;
|
sampler->tm0.mag_filter = FilterMode::Linear;
|
||||||
sampler->tm0.mipmap_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.min_filter = FilterMode::Near;
|
||||||
sampler->tm0.mag_filter = FilterMode::Linear;
|
sampler->tm0.mag_filter = FilterMode::Near;
|
||||||
sampler->tm0.mipmap_filter = FilterMode::Linear;
|
sampler->tm0.mipmap_filter = FilterMode::Near;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue