mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-28 06:52:35 +00:00
Print developer message when renderer runs out of free entities.
This commit is contained in:
parent
b648d6f17b
commit
4e59ef714b
1 changed files with 1 additions and 0 deletions
|
@ -209,6 +209,7 @@ void RE_AddRefEntityToScene( const refEntity_t *ent ) {
|
|||
return;
|
||||
}
|
||||
if ( r_numentities >= MAX_ENTITIES ) {
|
||||
ri.Printf(PRINT_DEVELOPER, "RE_AddRefEntityToScene: Dropping refEntity, reached MAX_ENTITIES\n");
|
||||
return;
|
||||
}
|
||||
if ( Q_isnan(ent->origin[0]) || Q_isnan(ent->origin[1]) || Q_isnan(ent->origin[2]) ) {
|
||||
|
|
Loading…
Reference in a new issue