aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llsurface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llsurface.cpp')
-rw-r--r--linden/indra/newview/llsurface.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/linden/indra/newview/llsurface.cpp b/linden/indra/newview/llsurface.cpp
index e9643eb..e9aa9b0 100644
--- a/linden/indra/newview/llsurface.cpp
+++ b/linden/indra/newview/llsurface.cpp
@@ -41,7 +41,7 @@
41#include "llviewerobjectlist.h" 41#include "llviewerobjectlist.h"
42#include "llregionhandle.h" 42#include "llregionhandle.h"
43#include "llagent.h" 43#include "llagent.h"
44#include "viewer.h" 44#include "llappviewer.h"
45#include "llworld.h" 45#include "llworld.h"
46#include "llviewercontrol.h" 46#include "llviewercontrol.h"
47#include "llviewerimage.h" 47#include "llviewerimage.h"
@@ -67,8 +67,6 @@ S32 LLSurface::sTexelsUpdated = 0;
67F32 LLSurface::sTextureUpdateTime = 0.f; 67F32 LLSurface::sTextureUpdateTime = 0.f;
68LLStat LLSurface::sTexelsUpdatedPerSecStat; 68LLStat LLSurface::sTexelsUpdatedPerSecStat;
69 69
70extern void bad_network_handler();
71
72// ---------------- LLSurface:: Public Members --------------- 70// ---------------- LLSurface:: Public Members ---------------
73 71
74LLSurface::LLSurface(U32 type, LLViewerRegion *regionp) : 72LLSurface::LLSurface(U32 type, LLViewerRegion *regionp) :
@@ -776,7 +774,7 @@ void LLSurface::decompressDCTPatch(LLBitPack &bitpack, LLGroupHeader *gopp, BOOL
776 << " quant_wbits " << (S32)ph.quant_wbits 774 << " quant_wbits " << (S32)ph.quant_wbits
777 << " patchids " << (S32)ph.patchids 775 << " patchids " << (S32)ph.patchids
778 << llendl; 776 << llendl;
779 bad_network_handler(); 777 LLAppViewer::instance()->badNetworkHandler();
780 return; 778 return;
781 } 779 }
782 780