From 9ffb8addf7db0a512fcd2931ff13c8400cd2227b Mon Sep 17 00:00:00 2001 From: Adam Moss Date: Fri, 17 Jul 2009 07:32:06 +0000 Subject: six instances of Alpah -> Alpha --- indra/llrender/llimagegl.cpp | 6 +++--- indra/llrender/llimagegl.h | 4 ++-- 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; -- cgit v1.2.3