wined3d: Do not crash when attempting to issue draw call with no attachments.
commitf4f2d4052b12ba15428cd9477b414b95e664857f
authorJózef Kucia <jkucia@codeweavers.com>
Sun, 26 Feb 2017 17:48:04 +0000 (26 18:48 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 27 Feb 2017 08:57:16 +0000 (27 09:57 +0100)
tree2fa9163828c7e263751d1f5880302060d3d65d3c
parentfedabd7dd77881750438a41b9aa58e248c507bbb
wined3d: Do not crash when attempting to issue draw call with no attachments.

The is broken since by 2641c5c28f407fb157028c8e7dda5e306b6b313c.

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/drawprim.c