mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-30 05:59:20 +00:00
arm64 : fix intptr_t size
This commit is contained in:
+2
-2
@@ -872,7 +872,7 @@ public:
|
||||
virtual void SetupLighting( const Vector &vecCenter );
|
||||
virtual void SuppressEngineLighting( bool bSuppress );
|
||||
|
||||
inline vertexFileHeader_t *CacheVertexData() { return g_pMDLCache->GetVertexData( (MDLHandle_t)(int)m_pStudioHdr->virtualModel&0xffff ); }
|
||||
inline vertexFileHeader_t *CacheVertexData() { return g_pMDLCache->GetVertexData( VoidPtrToMDLHandle( m_pStudioHdr->VirtualModel() ) ); }
|
||||
|
||||
bool Init();
|
||||
void Shutdown();
|
||||
@@ -4121,7 +4121,7 @@ bool CModelRender::UpdateStaticPropColorData( IHandleEntity *pProp, ModelInstanc
|
||||
if ( !bDebugColor )
|
||||
{
|
||||
// vertexes must be available for lighting calculation
|
||||
vertexFileHeader_t *pVertexHdr = g_pMDLCache->GetVertexData( (MDLHandle_t)(int)pStudioHdr->virtualModel&0xffff );
|
||||
vertexFileHeader_t *pVertexHdr = g_pMDLCache->GetVertexData( VoidPtrToMDLHandle( pStudioHdr->VirtualModel() ) );
|
||||
if ( !pVertexHdr )
|
||||
{
|
||||
// data not available yet
|
||||
|
||||
Reference in New Issue
Block a user