This commit is contained in:
Glenn Maynard
2007-03-22 19:14:41 +00:00
parent fde00c7b04
commit c7192a3b79
@@ -419,7 +419,6 @@ void MovieTexture_Generic::Update(float fDeltaTime)
* could make this never return, so let's play it safe. */ * could make this never return, so let's play it safe. */
int iMax = 4; int iMax = 4;
while( --iMax ) while( --iMax )
{
{ {
/* If we don't have a frame decoded, decode one. */ /* If we don't have a frame decoded, decode one. */
if( m_ImageWaiting == FRAME_NONE ) if( m_ImageWaiting == FRAME_NONE )
@@ -434,7 +433,6 @@ void MovieTexture_Generic::Update(float fDeltaTime)
else else
m_ImageWaiting = FRAME_WAITING; m_ImageWaiting = FRAME_WAITING;
} }
}
/* Note that if there's an image waiting, we *must* signal m_BufferFinished, or /* Note that if there's an image waiting, we *must* signal m_BufferFinished, or
* the decoder thread may sit around waiting for it, even though Pause and Play * the decoder thread may sit around waiting for it, even though Pause and Play