mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-03 05:49:41 +03:00
arm64 : fix intptr_t size
This commit is contained in:
@@ -132,7 +132,7 @@ public:
|
||||
// methods of ISpatialLeafEnumerator
|
||||
public:
|
||||
|
||||
bool EnumerateLeaf( int leaf, int context );
|
||||
bool EnumerateLeaf( int leaf, intp context );
|
||||
|
||||
// Adds a shadow to a leaf
|
||||
void AddShadowToLeaf( int leaf, ClientLeafShadowHandle_t handle );
|
||||
@@ -1132,7 +1132,7 @@ void CClientLeafSystem::AddRenderableToLeaves( ClientRenderHandle_t handle, int
|
||||
//-----------------------------------------------------------------------------
|
||||
// Inserts an element into the tree
|
||||
//-----------------------------------------------------------------------------
|
||||
bool CClientLeafSystem::EnumerateLeaf( int leaf, int context )
|
||||
bool CClientLeafSystem::EnumerateLeaf( int leaf, intp context )
|
||||
{
|
||||
EnumResultList_t *pList = (EnumResultList_t *)context;
|
||||
if ( ThreadInMainThread() )
|
||||
@@ -1168,7 +1168,7 @@ void CClientLeafSystem::InsertIntoTree( ClientRenderHandle_t &handle )
|
||||
Assert( absMins.IsValid() && absMaxs.IsValid() );
|
||||
|
||||
ISpatialQuery* pQuery = engine->GetBSPTreeQuery();
|
||||
pQuery->EnumerateLeavesInBox( absMins, absMaxs, this, (int)&list );
|
||||
pQuery->EnumerateLeavesInBox( absMins, absMaxs, this, (intp)&list );
|
||||
|
||||
if ( list.pHead )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user