diff --git a/indra/llrender/llimagegl.h b/indra/llrender/llimagegl.h index 879f4b2111..01fb7b0ee1 100644 --- a/indra/llrender/llimagegl.h +++ b/indra/llrender/llimagegl.h @@ -136,7 +136,7 @@ public: S32 getMipBytes(S32 discard_level = -1) const; BOOL getBoundRecently() const; BOOL isJustBound() const; - BOOL getHasEplixitFormat() const { return mHasExplicitFormat; } + BOOL getHasExplicitFormat() const { return mHasExplicitFormat; } LLGLenum getPrimaryFormat() const { return mFormatPrimary; } LLGLenum getFormatType() const { return mFormatType; } diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp index 819c74be29..f39eb8e1a1 100644 --- a/indra/newview/llviewertexture.cpp +++ b/indra/newview/llviewertexture.cpp @@ -1651,7 +1651,7 @@ BOOL LLViewerFetchedTexture::createTexture(S32 usename/*= 0*/) return FALSE; } - if (mGLTexturep->getHasEplixitFormat()) + if (mGLTexturep->getHasExplicitFormat()) { LLGLenum format = mGLTexturep->getPrimaryFormat(); S8 components = mRawImage->getComponents();