include: Base D3DVSD_TOKENTYPEMASK on an unsigned constant to avoid avoid shift overflows.
This commit is contained in:
parent
93ed5d3ba3
commit
46365d4873
|
@ -263,7 +263,7 @@ typedef enum _D3DVSDT_TYPE {
|
|||
#define D3DVSD_CONSTCOUNTMASK (0xF << D3DVSD_CONSTCOUNTSHIFT)
|
||||
#define D3DVSD_DATALOADTYPEMASK (0x1 << D3DVSD_DATALOADTYPESHIFT)
|
||||
#define D3DVSD_STREAMTESSMASK (0x1 << D3DVSD_STREAMTESSSHIFT)
|
||||
#define D3DVSD_TOKENTYPEMASK (0x7 << D3DVSD_TOKENTYPESHIFT)
|
||||
#define D3DVSD_TOKENTYPEMASK (0x7u << D3DVSD_TOKENTYPESHIFT)
|
||||
|
||||
|
||||
#define D3DVSD_MAKETOKENTYPE(TokenType) \
|
||||
|
|
Loading…
Reference in New Issue