From b235c59d60472f818a9142c0886b95a0ff4191d7 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:45:19 -0500 Subject: Second Life viewer sources 1.18.6.0-RC --- linden/indra/newview/llfloaterlagmeter.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'linden/indra/newview/llfloaterlagmeter.cpp') diff --git a/linden/indra/newview/llfloaterlagmeter.cpp b/linden/indra/newview/llfloaterlagmeter.cpp index 399d0b6..04a5cf6 100644 --- a/linden/indra/newview/llfloaterlagmeter.cpp +++ b/linden/indra/newview/llfloaterlagmeter.cpp @@ -37,7 +37,8 @@ #include "llviewerstats.h" #include "llviewerimage.h" #include "llviewercontrol.h" -#include "viewer.h" +#include "llappviewer.h" + #include "lltexturefetch.h" #include "llbutton.h" @@ -189,7 +190,7 @@ void LLFloaterLagMeter::determineClient() { mClientCause->setText( childGetText("client_draw_distance_cause_msg") ); } - else if(gTextureFetch->getNumRequests() > 2) + else if(LLAppViewer::instance()->getTextureFetch()->getNumRequests() > 2) { mClientCause->setText( childGetText("client_texture_loading_cause_msg") ); } -- cgit v1.1