[quake3-commits] r2195 - trunk/code/renderer

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Nov 4 20:56:26 EDT 2011


Author: ztm
Date: 2011-11-04 20:56:26 -0400 (Fri, 04 Nov 2011)
New Revision: 2195

Modified:
   trunk/code/renderer/tr_scene.c
Log:
Print developer message when renderer runs out of free entities.

Modified: trunk/code/renderer/tr_scene.c
===================================================================
--- trunk/code/renderer/tr_scene.c	2011-11-03 03:52:46 UTC (rev 2194)
+++ trunk/code/renderer/tr_scene.c	2011-11-05 00:56:26 UTC (rev 2195)
@@ -209,6 +209,7 @@
 		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]) ) {



More information about the quake3-commits mailing list