d3d8: Fix incorrect ordering of brackets in IDirect3DVertexShader8Impl_GetDevice.
commit941801c5483b75c68e8c8968d93f0576c23ffcf5
authorRob Shearman <robertshearman@gmail.com>
Tue, 30 Sep 2008 12:54:45 +0000 (30 13:54 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 30 Sep 2008 15:20:41 +0000 (30 10:20 -0500)
tree6bea03190df89dcb0e37b15ba12d0843d9839f22
parentc9d24bdc3e498f509c40771a8a7f7bb5fe33037b
d3d8: Fix incorrect ordering of brackets in IDirect3DVertexShader8Impl_GetDevice.

The comparison should be (D3D_OK == hr && myDevice), not (D3D_OK == (hr && myDevice)).
(Found with PreFast.)
dlls/d3d8/vertexshader.c