aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llimage/llpngwrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llimage/llpngwrapper.cpp')
-rw-r--r--linden/indra/llimage/llpngwrapper.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/linden/indra/llimage/llpngwrapper.cpp b/linden/indra/llimage/llpngwrapper.cpp
index 0054adf..35b4ec3 100644
--- a/linden/indra/llimage/llpngwrapper.cpp
+++ b/linden/indra/llimage/llpngwrapper.cpp
@@ -42,17 +42,22 @@
42 42
43LLPngWrapper::LLPngWrapper() 43LLPngWrapper::LLPngWrapper()
44 : mReadPngPtr( NULL ), 44 : mReadPngPtr( NULL ),
45 mReadInfoPtr( NULL ), 45 mReadInfoPtr( NULL ),
46 mWritePngPtr( NULL ), 46 mWritePngPtr( NULL ),
47 mWriteInfoPtr( NULL ), 47 mWriteInfoPtr( NULL ),
48 mRowPointers( NULL ), 48 mRowPointers( NULL ),
49 mWidth( 0 ),
50 mHeight( 0 ),
49 mBitDepth( 0 ), 51 mBitDepth( 0 ),
50 mColorType( 0 ), 52 mColorType( 0 ),
51 mChannels( 0 ), 53 mChannels( 0 ),
52 mInterlaceType( 0 ), 54 mInterlaceType( 0 ),
53 mCompressionType( 0 ), 55 mCompressionType( 0 ),
54 mFilterMethod( 0 ), 56 mFilterMethod( 0 ),
55 mFinalSize( 0 ) 57 mFinalSize( 0 ),
58 mHasBKGD(false),
59 mBackgroundColor(),
60 mGamma(0.f)
56{ 61{
57} 62}
58 63
@@ -384,7 +389,7 @@ U32 LLPngWrapper::getFinalSize()
384} 389}
385 390
386// Get last error message, if any 391// Get last error message, if any
387LLString LLPngWrapper::getErrorMessage() 392const std::string& LLPngWrapper::getErrorMessage()
388{ 393{
389 return mErrorMessage; 394 return mErrorMessage;
390} 395}