diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llimage/llimage.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/linden/indra/llimage/llimage.h b/linden/indra/llimage/llimage.h index 199dc07..0393d13 100644 --- a/linden/indra/llimage/llimage.h +++ b/linden/indra/llimage/llimage.h | |||
@@ -60,7 +60,7 @@ class LLImageFormatted; | |||
60 | class LLImageRaw; | 60 | class LLImageRaw; |
61 | class LLColor4U; | 61 | class LLColor4U; |
62 | 62 | ||
63 | enum | 63 | typedef enum e_image_codec |
64 | { | 64 | { |
65 | IMG_CODEC_INVALID = 0, | 65 | IMG_CODEC_INVALID = 0, |
66 | IMG_CODEC_RGB = 1, | 66 | IMG_CODEC_RGB = 1, |
@@ -71,7 +71,7 @@ enum | |||
71 | IMG_CODEC_DXT = 6, | 71 | IMG_CODEC_DXT = 6, |
72 | IMG_CODEC_PNG = 7, | 72 | IMG_CODEC_PNG = 7, |
73 | IMG_CODEC_EOF = 8 | 73 | IMG_CODEC_EOF = 8 |
74 | }; | 74 | } EImageCodec; |
75 | 75 | ||
76 | //============================================================================ | 76 | //============================================================================ |
77 | 77 | ||
@@ -125,6 +125,8 @@ public: | |||
125 | 125 | ||
126 | static void setSizeOverride(BOOL enabled) { sSizeOverride = enabled; } | 126 | static void setSizeOverride(BOOL enabled) { sSizeOverride = enabled; } |
127 | 127 | ||
128 | static EImageCodec getCodecFromExtension(const LLString& exten); | ||
129 | |||
128 | private: | 130 | private: |
129 | U8 *mData; | 131 | U8 *mData; |
130 | S32 mDataSize; | 132 | S32 mDataSize; |