summaryrefslogtreecommitdiff
path: root/indra/newview/lllocaltextureobject.h
diff options
context:
space:
mode:
authorNeal Orman <nyx@lindenlab.com>2009-07-14 17:14:40 +0000
committerNeal Orman <nyx@lindenlab.com>2009-07-14 17:14:40 +0000
commit9ecdbd8b72fec5182d2a5f843c9e4a050069ed51 (patch)
treef64fe8ba884f137afaf55ebe38e3f90150e00cab /indra/newview/lllocaltextureobject.h
parent29e5f09d12e8a92e07f3bb9d2cf898cc0e3b06cf (diff)
QAR-1602 checkpoint for multiple textures
Fixing merge problems - updating LLLocalTextureObject (new class) to work with Bao's texture refactoring. -Nyx
Diffstat (limited to 'indra/newview/lllocaltextureobject.h')
-rw-r--r--indra/newview/lllocaltextureobject.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/lllocaltextureobject.h b/indra/newview/lllocaltextureobject.h
index 38db098ab2..79e1562dce 100644
--- a/indra/newview/lllocaltextureobject.h
+++ b/indra/newview/lllocaltextureobject.h
@@ -35,7 +35,7 @@
#include <boost/shared_ptr.hpp>
-class LLViewerImage;
+class LLViewerFetchedTexture;
class LLUUID;
class LLTexLayer;
class LLTextureEntry;
@@ -47,18 +47,18 @@ class LLLocalTextureObject
{
public:
LLLocalTextureObject();
- LLLocalTextureObject(LLViewerImage *image, LLTextureEntry *entry, LLTexLayer *layer, LLUUID id);
+ LLLocalTextureObject(LLViewerFetchedTexture *image, LLTextureEntry *entry, LLTexLayer *layer, LLUUID id);
LLLocalTextureObject(const LLLocalTextureObject &lto);
~LLLocalTextureObject();
- LLViewerImage* getImage() const;
+ LLViewerFetchedTexture* getImage() const;
LLTextureEntry* getTexEntry() const;
LLTexLayer* getTexLayer() const;
LLUUID getID() const;
S32 getDiscard() const;
BOOL getBakedReady() const;
- void setImage(LLViewerImage* new_image);
+ void setImage(LLViewerFetchedTexture* new_image);
void setTexEntry(LLTextureEntry *new_te);
void setTexLayer(LLTexLayer *new_tex_layer);
void setID(LLUUID new_id);
@@ -69,7 +69,7 @@ protected:
private:
- LLPointer<LLViewerImage> mImage;
+ LLPointer<LLViewerFetchedTexture> mImage;
// NOTE: LLLocalTextureObject should be the exclusive owner of mTexEntry and mTexLayer
// using shared pointers here only for smart assignment & cleanup
// do NOT create new shared pointers to these objects, or keep pointers to them around