d3d9: Fix incorrect ordering of brackets in IDirect3DVertexShader9Impl_GetDevice.

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


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

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


More information about the wine-patches mailing list