diff --git a/dlls/d3dx9_36/texture.c b/dlls/d3dx9_36/texture.c index f107bbf8bc0..1c40d961c05 100644 --- a/dlls/d3dx9_36/texture.c +++ b/dlls/d3dx9_36/texture.c @@ -66,7 +66,7 @@ HRESULT WINAPI D3DXFilterTexture(LPDIRECT3DBASETEXTURE9 texture, UINT srclevel, DWORD filter) { - UINT level = srclevel + 1; + UINT level; HRESULT hr; D3DRESOURCETYPE type;