diff options
Diffstat (limited to 'linden/indra/newview/lltexlayer.cpp')
-rw-r--r-- | linden/indra/newview/lltexlayer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linden/indra/newview/lltexlayer.cpp b/linden/indra/newview/lltexlayer.cpp index 66d9a33..5a0a843 100644 --- a/linden/indra/newview/lltexlayer.cpp +++ b/linden/indra/newview/lltexlayer.cpp | |||
@@ -244,6 +244,8 @@ BOOL LLTexLayerSetBuffer::render() | |||
244 | BOOL upload_now = (gAgent.mNumPendingQueries == 0 && mNeedsUpload && mTexLayerSet->isLocalTextureDataFinal()); | 244 | BOOL upload_now = (gAgent.mNumPendingQueries == 0 && mNeedsUpload && mTexLayerSet->isLocalTextureDataFinal()); |
245 | BOOL success = TRUE; | 245 | BOOL success = TRUE; |
246 | 246 | ||
247 | gGL.start(); | ||
248 | |||
247 | // Composite bump | 249 | // Composite bump |
248 | if( mBumpTexName ) | 250 | if( mBumpTexName ) |
249 | { | 251 | { |
@@ -295,6 +297,8 @@ BOOL LLTexLayerSetBuffer::render() | |||
295 | glColorMask( GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE ); | 297 | glColorMask( GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE ); |
296 | gGL.blendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA ); | 298 | gGL.blendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA ); |
297 | 299 | ||
300 | gGL.stop(); | ||
301 | |||
298 | // we have valid texture data now | 302 | // we have valid texture data now |
299 | mInitialized = TRUE; | 303 | mInitialized = TRUE; |
300 | mNeedsUpdate = FALSE; | 304 | mNeedsUpdate = FALSE; |