aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterlagmeter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfloaterlagmeter.cpp')
-rw-r--r--linden/indra/newview/llfloaterlagmeter.cpp5
1 files changed, 3 insertions, 2 deletions
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 @@
37#include "llviewerstats.h" 37#include "llviewerstats.h"
38#include "llviewerimage.h" 38#include "llviewerimage.h"
39#include "llviewercontrol.h" 39#include "llviewercontrol.h"
40#include "viewer.h" 40#include "llappviewer.h"
41
41#include "lltexturefetch.h" 42#include "lltexturefetch.h"
42 43
43#include "llbutton.h" 44#include "llbutton.h"
@@ -189,7 +190,7 @@ void LLFloaterLagMeter::determineClient()
189 { 190 {
190 mClientCause->setText( childGetText("client_draw_distance_cause_msg") ); 191 mClientCause->setText( childGetText("client_draw_distance_cause_msg") );
191 } 192 }
192 else if(gTextureFetch->getNumRequests() > 2) 193 else if(LLAppViewer::instance()->getTextureFetch()->getNumRequests() > 2)
193 { 194 {
194 mClientCause->setText( childGetText("client_texture_loading_cause_msg") ); 195 mClientCause->setText( childGetText("client_texture_loading_cause_msg") );
195 } 196 }