d3d8: Return D3DERR_INVALIDCALL when trying to delete an invalid pixel shader.
authorHenri Verbeet <hverbeet@codeweavers.com>
Tue, 1 Dec 2009 10:27:47 +0000 (11:27 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 1 Dec 2009 12:16:18 +0000 (13:16 +0100)
commit212ee15bd7813fc71368e431e5a264cdc6d87e49
treec41ede22f0ac4868193ea0dce674f7ee38e45d5f
parent64e6e956e527675f57bc7f228a9f2b59f6a42c8f
d3d8: Return D3DERR_INVALIDCALL when trying to delete an invalid pixel shader.

It appears this is fixed on Vista/Win7 to be consistent with
DeleteVertexShader(). Match the more consistent behaviour of Vista/Win7 and
mark the previous behaviour as broken.
dlls/d3d8/device.c
dlls/d3d8/tests/device.c