Module: wine Branch: master Commit: 75d62d24d1ac83838dda22476309670e3ef27e8c URL: http://source.winehq.org/git/wine.git/?a=commit;h=75d62d24d1ac83838dda224763...
Author: Gerald Pfeifer gerald@pfeifer.com Date: Tue Oct 27 12:07:00 2015 +0100
d3d9: Make D3DFVF_TEXTUREFORMAT4 and friends unsigned.
Signed-off-by: Gerald Pfeifer gerald@pfeifer.com Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
include/d3d9types.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/d3d9types.h b/include/d3d9types.h index 111d242..cec42ec 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))