summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorAdam Moss <moss@lindenlab.com>2009-07-17 07:32:06 +0000
committerAdam Moss <moss@lindenlab.com>2009-07-17 07:32:06 +0000
commit9ffb8addf7db0a512fcd2931ff13c8400cd2227b (patch)
treef1bd53cb8af1dd375457dbb189d7380838216eca /indra/llrender
parent88126805c7a39f00004dcb4b0d4e998c43d663c3 (diff)
six instances of Alpah -> Alpha
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llimagegl.cpp6
-rw-r--r--indra/llrender/llimagegl.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/indra/llrender/llimagegl.cpp b/indra/llrender/llimagegl.cpp
index 311009064f..c3d1d9e894 100644
--- a/indra/llrender/llimagegl.cpp
+++ b/indra/llrender/llimagegl.cpp
@@ -362,7 +362,7 @@ void LLImageGL::init(BOOL usemipmaps)
mGLTextureCreated = FALSE ;
mIsMask = FALSE;
- mNeedsAlpahAndPickMask = TRUE ;
+ mNeedsAlphaAndPickMask = TRUE ;
}
void LLImageGL::cleanup()
@@ -1357,7 +1357,7 @@ void LLImageGL::setTarget(const LLGLenum target, const LLTexUnit::eTextureType b
void LLImageGL::analyzeAlpha(const void* data_in, S32 w, S32 h)
{
- if(!mNeedsAlpahAndPickMask)
+ if(!mNeedsAlphaAndPickMask)
{
return ;
}
@@ -1422,7 +1422,7 @@ void LLImageGL::analyzeAlpha(const void* data_in, S32 w, S32 h)
//----------------------------------------------------------------------------
void LLImageGL::updatePickMask(S32 width, S32 height, const U8* data_in)
{
- if(!mNeedsAlpahAndPickMask)
+ if(!mNeedsAlphaAndPickMask)
{
return ;
}
diff --git a/indra/llrender/llimagegl.h b/indra/llrender/llimagegl.h
index b58472d398..5f32b23356 100644
--- a/indra/llrender/llimagegl.h
+++ b/indra/llrender/llimagegl.h
@@ -167,7 +167,7 @@ public:
void init(BOOL usemipmaps);
virtual void cleanup(); // Clean up the LLImageGL so it can be reinitialized. Be careful when using this in derived class destructors
- void setNeedsAlpahAndPickMask(BOOL need_mask) {mNeedsAlpahAndPickMask = need_mask;}
+ void setNeedsAlphaAndPickMask(BOOL need_mask) {mNeedsAlphaAndPickMask = need_mask;}
public:
// Various GL/Rendering options
S32 mTextureMemory;
@@ -181,7 +181,7 @@ private:
S8 mAutoGenMips;
BOOL mIsMask;
- BOOL mNeedsAlpahAndPickMask;
+ BOOL mNeedsAlphaAndPickMask;
bool mGLTextureCreated ;
LLGLuint mTexName;