GSdx-d3d: Remove point sampler from d3d9.

It did nothing.
This commit is contained in:
lightningterror 2018-10-08 21:22:34 +02:00
parent c337ab6a66
commit 0dcd60b524
1 changed files with 3 additions and 5 deletions

View File

@ -137,7 +137,7 @@ void GSDevice9::SetupPS(PSSelector sel, const PSConstantBuffer* cb, PSSamplerSel
if(i == m_ps.end())
{
std::string str[18];
std::string str[17];
str[0] = format("%d", sel.fst);
str[1] = format("%d", sel.wms);
@ -155,8 +155,7 @@ void GSDevice9::SetupPS(PSSelector sel, const PSConstantBuffer* cb, PSSamplerSel
str[13] = format("%d", sel.date);
str[14] = format("%d", sel.spritehack);
str[15] = format("%d", sel.tcoffsethack);
str[16] = format("%d", sel.point_sampler);
str[17] = format("%d", sel.fmt >> 2);
str[16] = format("%d", sel.fmt >> 2);
D3D_SHADER_MACRO macro[] =
{
@ -176,8 +175,7 @@ void GSDevice9::SetupPS(PSSelector sel, const PSConstantBuffer* cb, PSSamplerSel
{"PS_DATE", str[13].c_str()},
{"PS_SPRITEHACK", str[14].c_str()},
{"PS_TCOFFSETHACK", str[15].c_str()},
{"PS_POINT_SAMPLER", str[16].c_str()},
{"PS_PAL_FMT", str[17].c_str()},
{"PS_PAL_FMT", str[16].c_str()},
{NULL, NULL},
};