fix previous commit

This commit is contained in:
nillerusr
2021-10-05 00:51:01 +03:00
parent 61302b61e7
commit 2f12021cce
4 changed files with 6 additions and 17 deletions

View File

@@ -619,10 +619,8 @@ bool CShaderDeviceMgrDx8::ComputeCapsFromD3D( HardwareCaps_t *pCaps, int nAdapte
if ( pVendorID )
{
int nVendorID = V_atoi( pVendorID ); // use V_atoi for hex support
if ( pVendorID > (HardwareCaps_t*)0 )
{
if ( pVendorID )
ident.VendorId = nVendorID;
}
}
}