d3d9: Change #define D3DSTREAMSOURCE_INSTANCEDATA to avoid shift overflow.

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:
Gerald Pfeifer 2015-10-24 23:33:52 +02:00 committed by Alexandre Julliard
parent a0991fc73f
commit f6788b9186
1 changed files with 2 additions and 2 deletions

View File

@ -178,8 +178,8 @@
#define D3DPV_DONOTCOPYDATA (1 << 0)
#define D3DSTREAMSOURCE_INDEXEDDATA (1 << 30)
#define D3DSTREAMSOURCE_INSTANCEDATA (2 << 30)
#define D3DSTREAMSOURCE_INDEXEDDATA (1u << 30)
#define D3DSTREAMSOURCE_INSTANCEDATA (2u << 30)
#define D3D_MAX_SIMULTANEOUS_RENDERTARGETS 4