Automated merge with http://hg.secondlife.com/viewer-development
commit
0edcdc42f2
|
|
@ -38,6 +38,12 @@ LLImageDecodeThread::LLImageDecodeThread(bool threaded)
|
|||
mCreationMutex = new LLMutex(getAPRPool());
|
||||
}
|
||||
|
||||
//virtual
|
||||
LLImageDecodeThread::~LLImageDecodeThread()
|
||||
{
|
||||
delete mCreationMutex ;
|
||||
}
|
||||
|
||||
// MAIN THREAD
|
||||
// virtual
|
||||
S32 LLImageDecodeThread::update(U32 max_time_ms)
|
||||
|
|
|
|||
|
|
@ -73,6 +73,8 @@ public:
|
|||
|
||||
public:
|
||||
LLImageDecodeThread(bool threaded = true);
|
||||
virtual ~LLImageDecodeThread();
|
||||
|
||||
handle_t decodeImage(LLImageFormatted* image,
|
||||
U32 priority, S32 discard, BOOL needs_aux,
|
||||
Responder* responder);
|
||||
|
|
|
|||
|
|
@ -2165,7 +2165,7 @@ void LLVOVolume::removeMediaImpl(S32 texture_index)
|
|||
}
|
||||
|
||||
//make the face referencing to mMediaImplList[texture_index] to point back to the old texture.
|
||||
if(mDrawable)
|
||||
if(mDrawable && texture_index < mDrawable->getNumFaces())
|
||||
{
|
||||
LLFace* facep = mDrawable->getFace(texture_index) ;
|
||||
if(facep)
|
||||
|
|
|
|||
Loading…
Reference in New Issue