summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/llkdu/tests/llimagej2ckdu_test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llkdu/tests/llimagej2ckdu_test.cpp b/indra/llkdu/tests/llimagej2ckdu_test.cpp
index bc52a15c4a..b8c50c9978 100644
--- a/indra/llkdu/tests/llimagej2ckdu_test.cpp
+++ b/indra/llkdu/tests/llimagej2ckdu_test.cpp
@@ -84,6 +84,10 @@ bool LLImageBase::isBufferInvalid() const { return false; }
LLImageJ2CImpl::~LLImageJ2CImpl() { }
+// LLImageJ2CKDU::estimateDataSize calls LLImage::useNewByteRange() which is
+// inline and reads sUseNewByteRange; provide storage for the test link.
+bool LLImage::sUseNewByteRange = false;
+
LLImageFormatted::LLImageFormatted(S8 ) { }
LLImageFormatted::~LLImageFormatted() { }
U8* LLImageFormatted::allocateData(S32 ) { return NULL; }