d3d8: Fix incorrect ordering of brackets in IDirect3DVertexShader8Impl_GetDevice.

Rob Shearman robertshearman at gmail.com
Tue Sep 30 07:54:45 CDT 2008


The comparison should be (D3D_OK == hr && myDevice), not (D3D_OK ==
(hr && myDevice)).

(Found with PreFast.)
---
 dlls/d3d8/vertexshader.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: efc587f8eb7930af1ff62f7992054ca757e44b31.diff
Type: text/x-patch
Size: 706 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080930/8a868412/attachment.bin 


More information about the wine-patches mailing list