Commit f85e7d17 authored by Bruno Jesus's avatar Bruno Jesus Committed by Alexandre Julliard

dinput: Only complain for unsupported effect envelope if it really is useful.

parent 048964b4
......@@ -585,7 +585,8 @@ static HRESULT WINAPI LinuxInputEffectImpl_SetParameters(
env->fade_length = 0;
env->fade_level = 0;
}
else
else if(peff->lpEnvelope->dwAttackTime || peff->lpEnvelope->dwAttackLevel ||
peff->lpEnvelope->dwFadeTime || peff->lpEnvelope->dwFadeLevel)
WARN("Ignoring dinput envelope not supported in the linux effect\n");
}
......
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