From c1d1d746142dafee149e7aa9575c54631592efc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rico=20Sch=C3=BCller?= Date: Thu, 10 Jan 2013 22:23:31 +0100 Subject: [PATCH] d3dx9: Use lowercase hexadecimal values. --- dlls/d3dx9_36/shader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/d3dx9_36/shader.c b/dlls/d3dx9_36/shader.c index 3e28a03788d..a0d36e2298b 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)