aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llimage/llimage.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llimage/llimage.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/linden/indra/llimage/llimage.h b/linden/indra/llimage/llimage.h
index 8546303..199dc07 100644
--- a/linden/indra/llimage/llimage.h
+++ b/linden/indra/llimage/llimage.h
@@ -101,9 +101,10 @@ public:
101 S8 getComponents() const { return mComponents; } 101 S8 getComponents() const { return mComponents; }
102 S32 getDataSize() const { return mDataSize; } 102 S32 getDataSize() const { return mDataSize; }
103 103
104 const U8 *getData() const { return mData; } // read only 104 const U8 *getData() const ;
105 U8 *getData() { return mData; } 105 U8 *getData() ;
106 106 BOOL isBufferInvalid() ;
107
107 void setSize(S32 width, S32 height, S32 ncomponents); 108 void setSize(S32 width, S32 height, S32 ncomponents);
108 U8* allocateDataSize(S32 width, S32 height, S32 ncomponents, S32 size = -1); // setSize() + allocateData() 109 U8* allocateDataSize(S32 width, S32 height, S32 ncomponents, S32 size = -1); // setSize() + allocateData()
109 110
@@ -133,6 +134,8 @@ private:
133 134
134 S8 mComponents; 135 S8 mComponents;
135 136
137 BOOL mBadBufferAllocation ;
138
136public: 139public:
137 S16 mMemType; // debug 140 S16 mMemType; // debug
138 141