summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@geenzo.com>2026-05-20 10:33:58 -0400
committerJonathan "Geenz" Goodman <geenz@geenzo.com>2026-05-20 10:33:58 -0400
commit80b557310bb980e17123a84a9f93eb87d1040e81 (patch)
tree35b1d168d8b85eb07415ed17f75e3cdc61a93299
parent57048769db20f5e84834c8c6dd15466083bd7585 (diff)
Update llimagej2ckdu_test.cpp
-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; }