d3dx9: Avoid assignment in D3DXGetVertexShaderProfile.

This commit is contained in:
Luis C. Busquets Pérez 2008-08-05 07:09:57 +02:00 committed by Alexandre Julliard
parent 35e16a2b42
commit d9d8288508
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ LPCSTR WINAPI D3DXGetVertexShaderProfile(LPDIRECT3DDEVICE9 device)
return "vs_1_1";
case D3DVS_VERSION(2, 0):
if ((caps.VS20Caps.NumTemps>=13) &&
(caps.VS20Caps.DynamicFlowControlDepth=24) &&
(caps.VS20Caps.DynamicFlowControlDepth==24) &&
(caps.VS20Caps.Caps&D3DPS20CAPS_PREDICATION))
{
return "vs_2_a";