aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llimage/llimage.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:11 -0500
committerJacek Antonelli2008-08-15 23:45:11 -0500
commit215f423cbe18fe9ca14a26caef918d303bad28ff (patch)
tree0743442b286216cc8e19aa487c26f4e9345ffd64 /linden/indra/llimage/llimage.h
parentSecond Life viewer sources 1.18.3.5-RC (diff)
downloadmeta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.zip
meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.gz
meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.bz2
meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.xz
Second Life viewer sources 1.18.4.0-RC
Diffstat (limited to 'linden/indra/llimage/llimage.h')
-rw-r--r--linden/indra/llimage/llimage.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/linden/indra/llimage/llimage.h b/linden/indra/llimage/llimage.h
index e706c0a..65a7c54 100644
--- a/linden/indra/llimage/llimage.h
+++ b/linden/indra/llimage/llimage.h
@@ -2,6 +2,8 @@
2 * @file llimage.h 2 * @file llimage.h
3 * @brief Object for managing images and their textures. 3 * @brief Object for managing images and their textures.
4 * 4 *
5 * $LicenseInfo:firstyear=2000&license=viewergpl$
6 *
5 * Copyright (c) 2000-2007, Linden Research, Inc. 7 * Copyright (c) 2000-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,12 +26,12 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLIMAGE_H 32#ifndef LL_LLIMAGE_H
30#define LL_LLIMAGE_H 33#define LL_LLIMAGE_H
31 34
32#include "stdtypes.h"
33#include "lluuid.h" 35#include "lluuid.h"
34#include "llstring.h" 36#include "llstring.h"
35#include "llmemory.h" 37#include "llmemory.h"
@@ -112,7 +114,7 @@ protected:
112public: 114public:
113 static const LLString& getLastError() {return sLastErrorMessage;}; 115 static const LLString& getLastError() {return sLastErrorMessage;};
114 static void resetLastError() {sLastErrorMessage = LLString("No Error"); }; 116 static void resetLastError() {sLastErrorMessage = LLString("No Error"); };
115 static BOOL setLastError(const LLString& message, const LLString& filename = ""); // returns FALSE 117 static BOOL setLastError(const LLString& message, const LLString& filename = LLString()); // returns FALSE
116 118
117 static void generateMip(const U8 *indata, U8* mipdata, int width, int height, S32 nchannels); 119 static void generateMip(const U8 *indata, U8* mipdata, int width, int height, S32 nchannels);
118 120