mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-10 22:24:33 +00:00
Reordering initialization methods #1912
This commit is contained in:
parent
e724b2fcdd
commit
970dd5c477
70 changed files with 207 additions and 205 deletions
|
|
@ -227,8 +227,8 @@ void TheoraTexture::FrameStream::releaseTextureLocks()
|
|||
TheoraTexture::AsyncState::AsyncState( const ThreadSafeRef< OggInputStream >& oggStream, bool looping )
|
||||
: mOggStream( oggStream ),
|
||||
mTheoraDecoder( dynamic_cast< OggTheoraDecoder* >( oggStream->getDecoder( "Theora" ) ) ),
|
||||
mVorbisDecoder( dynamic_cast< OggVorbisDecoder* >( oggStream->getDecoder( "Vorbis" ) ) ),
|
||||
mCurrentTime( 0 )
|
||||
mCurrentTime( 0 ),
|
||||
mVorbisDecoder( dynamic_cast< OggVorbisDecoder* >( oggStream->getDecoder( "Vorbis" ) ) )
|
||||
{
|
||||
if( mTheoraDecoder )
|
||||
{
|
||||
|
|
@ -276,8 +276,8 @@ bool TheoraTexture::AsyncState::isAtEnd()
|
|||
//-----------------------------------------------------------------------------
|
||||
|
||||
TheoraTexture::TheoraTexture()
|
||||
: mPlaybackQueue( NULL ),
|
||||
mCurrentFrame( NULL ),
|
||||
: mCurrentFrame( NULL ),
|
||||
mPlaybackQueue( NULL ),
|
||||
mIsPaused( true )
|
||||
{
|
||||
GFXTextureManager::addEventDelegate( this, &TheoraTexture::_onTextureEvent );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue