wined3d: Fix typo.
This commit is contained in:
parent
1c721e7164
commit
55c190d396
|
@ -4252,18 +4252,18 @@ HRESULT CDECL wined3d_device_validate_device(const struct wined3d_device *device
|
||||||
|
|
||||||
if (state->sampler_states[i][WINED3D_SAMP_MAG_FILTER] != WINED3D_TEXF_POINT)
|
if (state->sampler_states[i][WINED3D_SAMP_MAG_FILTER] != WINED3D_TEXF_POINT)
|
||||||
{
|
{
|
||||||
WARN("Non-filterable texture and mag filter enabled on samper %u, returning E_FAIL\n", i);
|
WARN("Non-filterable texture and mag filter enabled on sampler %u, returning E_FAIL\n", i);
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
if (state->sampler_states[i][WINED3D_SAMP_MIN_FILTER] != WINED3D_TEXF_POINT)
|
if (state->sampler_states[i][WINED3D_SAMP_MIN_FILTER] != WINED3D_TEXF_POINT)
|
||||||
{
|
{
|
||||||
WARN("Non-filterable texture and min filter enabled on samper %u, returning E_FAIL\n", i);
|
WARN("Non-filterable texture and min filter enabled on sampler %u, returning E_FAIL\n", i);
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
if (state->sampler_states[i][WINED3D_SAMP_MIP_FILTER] != WINED3D_TEXF_NONE
|
if (state->sampler_states[i][WINED3D_SAMP_MIP_FILTER] != WINED3D_TEXF_NONE
|
||||||
&& state->sampler_states[i][WINED3D_SAMP_MIP_FILTER] != WINED3D_TEXF_POINT)
|
&& state->sampler_states[i][WINED3D_SAMP_MIP_FILTER] != WINED3D_TEXF_POINT)
|
||||||
{
|
{
|
||||||
WARN("Non-filterable texture and mip filter enabled on samper %u, returning E_FAIL\n", i);
|
WARN("Non-filterable texture and mip filter enabled on sampler %u, returning E_FAIL\n", i);
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue