summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2011-11-05 00:56:26 +0000
committerTim Angus <tim@ngus.net>2013-01-12 20:13:57 +0000
commitc4a9172a41645b36eb99595a343bcfbed7729757 (patch)
tree0e53526bd93175afac2b2599e7edb63d5fba8382 /src
parent0519d0c87ce0c68959034f0ceca82a40ef453874 (diff)
Print developer message when renderer runs out of free entities.
Diffstat (limited to 'src')
-rw-r--r--src/renderer/tr_scene.c1
1 files changed, 1 insertions, 0 deletions
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]) ) {