mirror of
https://github.com/halpz/re3.git
synced 2025-05-12 09:06:39 +03:00
Squeeze performance option, minor fixes
Fixes are already in miami
This commit is contained in:
parent
a786dd45a4
commit
e14252914e
21 changed files with 181 additions and 12 deletions
|
@ -73,8 +73,12 @@ CRenderer::PreRender(void)
|
|||
for(i = 0; i < ms_nNoOfVisibleEntities; i++)
|
||||
ms_aVisibleEntityPtrs[i]->PreRender();
|
||||
|
||||
for(i = 0; i < ms_nNoOfInVisibleEntities; i++)
|
||||
for (i = 0; i < ms_nNoOfInVisibleEntities; i++) {
|
||||
#ifdef SQUEEZE_PERFORMANCE
|
||||
if (ms_aInVisibleEntityPtrs[i]->IsVehicle() && ((CVehicle*)ms_aInVisibleEntityPtrs[i])->IsHeli())
|
||||
#endif
|
||||
ms_aInVisibleEntityPtrs[i]->PreRender();
|
||||
}
|
||||
|
||||
for(node = CVisibilityPlugins::m_alphaEntityList.head.next;
|
||||
node != &CVisibilityPlugins::m_alphaEntityList.tail;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue