mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
fix latest gcc builds (#19)
Co-authored-by: Danny Parker <DannyParker0001@users.noreply.github.com>
This commit is contained in:
co-authored by
Danny Parker
parent
2c6669f5e3
commit
61302b61e7
@@ -619,7 +619,7 @@ bool CShaderDeviceMgrDx8::ComputeCapsFromD3D( HardwareCaps_t *pCaps, int nAdapte
|
||||
if ( pVendorID )
|
||||
{
|
||||
int nVendorID = V_atoi( pVendorID ); // use V_atoi for hex support
|
||||
if ( pVendorID > 0 )
|
||||
if ( pVendorID > (HardwareCaps_t*)0 )
|
||||
{
|
||||
ident.VendorId = nVendorID;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user