Cast to proper type in case

This commit is contained in:
darkf 2020-04-06 19:49:00 -07:00
parent a32bb946a0
commit daab20a944
1 changed files with 2 additions and 2 deletions

View File

@ -362,7 +362,7 @@ private:
switch (VertexRegister)
{
case XTL::X_D3DVSDE_VERTEX: // -1
case (DWORD)XTL::X_D3DVSDE_VERTEX: // -1
PCRegisterType = D3DDECLUSAGE_UNSUPPORTED;
break;
case XTL::X_D3DVSDE_POSITION: // 0
@ -416,7 +416,7 @@ private:
{
switch (VertexRegister)
{
case XTL::X_D3DVSDE_VERTEX: // -1
case (DWORD)XTL::X_D3DVSDE_VERTEX: // -1
return "D3DVSDE_VERTEX /* xbox ext. */";
case XTL::X_D3DVSDE_POSITION: // 0
return "D3DVSDE_POSITION";