Commit 55c190d3 authored by Rico Schüller's avatar Rico Schüller Committed by Alexandre Julliard

wined3d: Fix typo.

parent 1c721e71
......@@ -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)
{
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;
}
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;
}
if (state->sampler_states[i][WINED3D_SAMP_MIP_FILTER] != WINED3D_TEXF_NONE
&& 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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment