mirror of
https://github.com/td512/re3.git
synced 2026-03-09 20:58:18 +00:00
Fixes, some thanks to ASan
This commit is contained in:
@@ -366,6 +366,12 @@ COcclusion::ProcessBeforeRendering(void)
|
||||
}
|
||||
NumActiveOccluders--;
|
||||
i--;
|
||||
// Taken from Mobile!
|
||||
#ifdef FIX_BUGS
|
||||
if (i == -1) {
|
||||
i = 0;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -481,4 +487,4 @@ void COcclusion::Render() {
|
||||
|
||||
DefinedState();
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user