wined3d: Sanitise clear flags passed to blitters.
commit2727a6ecf69397a988c29d168dc467fb7081f59c
authorJózef Kucia <jkucia@codeweavers.com>
Thu, 10 Jan 2019 14:10:13 +0000 (10 15:10 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 10 Jan 2019 18:32:52 +0000 (10 12:32 -0600)
treefd2cc98623064828daf837999400607175eafd93
parentebe15537d1a3de7505f851d2a6ab362f12e44d3f
wined3d: Sanitise clear flags passed to blitters.

In order to not trigger "if (flags)" conditions in ffp_blitter_clear()
unnecessarily.  Also, avoids passing WINED3DCLEAR_SYNCHRONOUS, which is handled
at the level of command stream.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/wined3d/cs.c