From 8370a7d213efd01364fe3389b1f5663d9fa36d26 Mon Sep 17 00:00:00 2001 From: dhewg Date: Mon, 2 Jan 2012 19:12:26 +0100 Subject: [PATCH] Turn a Warning() in R_FlareDeform into a DPrintf() The warning is printed on every frame in some areas and slows down the whole game. Use DPrintf() instead to prevent the slowdown. --- neo/renderer/tr_deform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/renderer/tr_deform.cpp b/neo/renderer/tr_deform.cpp index 9fc31fd7..7d50a615 100644 --- a/neo/renderer/tr_deform.cpp +++ b/neo/renderer/tr_deform.cpp @@ -519,7 +519,7 @@ static void R_FlareDeform( drawSurf_t *surf ) { if ( tri->numVerts != 4 || tri->numIndexes != 6 ) { //FIXME: temp hack for flares on tripleted models - common->Warning( "R_FlareDeform: not a single quad" ); + common->DPrintf( "R_FlareDeform: not a single quad\n" ); return; }