From 75d62d24d1ac83838dda22476309670e3ef27e8c Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Tue, 27 Oct 2015 12:07:00 +0100 Subject: [PATCH] d3d9: Make D3DFVF_TEXTUREFORMAT4 and friends unsigned. Signed-off-by: Gerald Pfeifer Signed-off-by: Henri Verbeet Signed-off-by: Alexandre Julliard --- include/d3d9types.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/d3d9types.h b/include/d3d9types.h index 111d2422fc3..cec42ec7406 100644 --- a/include/d3d9types.h +++ b/include/d3d9types.h @@ -60,10 +60,10 @@ #define D3DCS_PLANE5 __MSABI_LONG(0x800) #define D3DCS_ALL __MSABI_LONG(0xFFF) -#define D3DFVF_TEXTUREFORMAT1 3 -#define D3DFVF_TEXTUREFORMAT2 0 -#define D3DFVF_TEXTUREFORMAT3 1 -#define D3DFVF_TEXTUREFORMAT4 2 +#define D3DFVF_TEXTUREFORMAT1 3u +#define D3DFVF_TEXTUREFORMAT2 0u +#define D3DFVF_TEXTUREFORMAT3 1u +#define D3DFVF_TEXTUREFORMAT4 2u #define D3DFVF_TEXCOORDSIZE1(CoordIndex) (D3DFVF_TEXTUREFORMAT1 << (CoordIndex*2 + 16)) #define D3DFVF_TEXCOORDSIZE2(CoordIndex) (D3DFVF_TEXTUREFORMAT2) #define D3DFVF_TEXCOORDSIZE3(CoordIndex) (D3DFVF_TEXTUREFORMAT3 << (CoordIndex*2 + 16))