Rico Schüller : d3dx9: Use lowercase hexadecimal values.
Module: wine Branch: master Commit: c1d1d746142dafee149e7aa9575c54631592efc3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c1d1d746142dafee149e7aa957... Author: Rico Schüller <kgbricola(a)web.de> Date: Thu Jan 10 22:23:31 2013 +0100 d3dx9: Use lowercase hexadecimal values. --- dlls/d3dx9_36/shader.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/d3dx9_36/shader.c b/dlls/d3dx9_36/shader.c index 3e28a03..a0d36e2 100644 --- a/dlls/d3dx9_36/shader.c +++ b/dlls/d3dx9_36/shader.c @@ -597,9 +597,9 @@ static inline struct ID3DXConstantTableImpl *impl_from_ID3DXConstantTable(ID3DXC return CONTAINING_RECORD(iface, struct ID3DXConstantTableImpl, ID3DXConstantTable_iface); } -static inline int is_vertex_shader(DWORD version) +static inline BOOL is_vertex_shader(DWORD version) { - return (version & 0xFFFF0000) == 0xFFFE0000; + return (version & 0xffff0000) == 0xfffe0000; } static inline struct ctab_constant *constant_from_handle(D3DXHANDLE handle)
participants (1)
-
Alexandre Julliard