d3d11: Return E_INVALIDARG from GetData() when "data" is NULL and "data_size" is...
commitd3c58df4553dd6abd45160495beddd356856757c
authorJózef Kucia <jkucia@codeweavers.com>
Mon, 21 Nov 2016 14:15:54 +0000 (21 15:15 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 22 Nov 2016 15:34:40 +0000 (22 16:34 +0100)
treee49b498b73eda0c9613da5c3d614c0ec1987e0c5
parentc0fb3fb9e16ea2f6d0522bf8996c3a4d5ff93c2a
d3d11: Return E_INVALIDARG from GetData() when "data" is NULL and "data_size" is non-zero.

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/d3d11/async.c
dlls/d3d11/device.c
dlls/d3d11/tests/d3d11.c