Add a "force no texture filter" option, useful for some 2D games (like Mega Man 10) and people who like their pixelated graphics.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7431 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
1 parent
783c89f108
commit
15c51c37f3
7 files changed
+24
-3
No files matched your search
@@ -1381,6 +1381,10 @@ void Renderer::SetSamplerState(int stage, int texindex)
|
||||
{
|
||||
min = mag = mip = D3DTEXF_LINEAR;
|
||||
}
|
||||
else if (g_ActiveConfig.bForceNoFiltering)
|
||||
{
|
||||
min = mag = mip = D3DTEXF_POINT;
|
||||
}
|
||||
else
|
||||
{
|
||||
min = (tm0.min_filter & 4) ? D3DTEXF_LINEAR : D3DTEXF_POINT;
|
||||
|
||||
Reference in new issue
Block a user