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>
This commit is contained in:
parent
255a7fe067
commit
75d62d24d1
|
@ -60,10 +60,10 @@
|
||||||
#define D3DCS_PLANE5 __MSABI_LONG(0x800)
|
#define D3DCS_PLANE5 __MSABI_LONG(0x800)
|
||||||
#define D3DCS_ALL __MSABI_LONG(0xFFF)
|
#define D3DCS_ALL __MSABI_LONG(0xFFF)
|
||||||
|
|
||||||
#define D3DFVF_TEXTUREFORMAT1 3
|
#define D3DFVF_TEXTUREFORMAT1 3u
|
||||||
#define D3DFVF_TEXTUREFORMAT2 0
|
#define D3DFVF_TEXTUREFORMAT2 0u
|
||||||
#define D3DFVF_TEXTUREFORMAT3 1
|
#define D3DFVF_TEXTUREFORMAT3 1u
|
||||||
#define D3DFVF_TEXTUREFORMAT4 2
|
#define D3DFVF_TEXTUREFORMAT4 2u
|
||||||
#define D3DFVF_TEXCOORDSIZE1(CoordIndex) (D3DFVF_TEXTUREFORMAT1 << (CoordIndex*2 + 16))
|
#define D3DFVF_TEXCOORDSIZE1(CoordIndex) (D3DFVF_TEXTUREFORMAT1 << (CoordIndex*2 + 16))
|
||||||
#define D3DFVF_TEXCOORDSIZE2(CoordIndex) (D3DFVF_TEXTUREFORMAT2)
|
#define D3DFVF_TEXCOORDSIZE2(CoordIndex) (D3DFVF_TEXTUREFORMAT2)
|
||||||
#define D3DFVF_TEXCOORDSIZE3(CoordIndex) (D3DFVF_TEXTUREFORMAT3 << (CoordIndex*2 + 16))
|
#define D3DFVF_TEXCOORDSIZE3(CoordIndex) (D3DFVF_TEXTUREFORMAT3 << (CoordIndex*2 + 16))
|
||||||
|
|
Loading…
Reference in New Issue