diff options
-rw-r--r-- | indra/llappearance/lltexlayerparams.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llappearance/lltexlayerparams.cpp b/indra/llappearance/lltexlayerparams.cpp index a6b0f54c88..ec02d0d7fc 100644 --- a/indra/llappearance/lltexlayerparams.cpp +++ b/indra/llappearance/lltexlayerparams.cpp @@ -321,7 +321,11 @@ BOOL LLTexLayerParamAlpha::render(S32 x, S32 y, S32 width, S32 height) // We now have something in one of our caches LLTexLayerSet::sHasCaches |= mCachedProcessedTexture ? TRUE : FALSE; +#if GL_VERSION_1_1 mCachedProcessedTexture->setExplicitFormat(GL_ALPHA8, GL_ALPHA); +#else + mCachedProcessedTexture->setExplicitFormat(GL_ALPHA8_EXT, GL_ALPHA); +#endif } // Applies domain and effective weight to data as it is decoded. Also resizes the raw image if needed. |