From c4a9172a41645b36eb99595a343bcfbed7729757 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Sat, 5 Nov 2011 00:56:26 +0000 Subject: Print developer message when renderer runs out of free entities. --- src/renderer/tr_scene.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/renderer/tr_scene.c b/src/renderer/tr_scene.c index aeea675c..5a5b2dd5 100644 --- a/src/renderer/tr_scene.c +++ b/src/renderer/tr_scene.c @@ -210,6 +210,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]) ) { -- cgit