From 80b557310bb980e17123a84a9f93eb87d1040e81 Mon Sep 17 00:00:00 2001 From: "Jonathan \"Geenz\" Goodman" Date: Wed, 20 May 2026 10:33:58 -0400 Subject: Update llimagej2ckdu_test.cpp --- indra/llkdu/tests/llimagej2ckdu_test.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- cgit v1.3