clean up RageTextureManager prefs, ModelManager prefs

add pref DelayedModelDelete
This commit is contained in:
Chris Danford
2004-05-26 07:20:38 +00:00
parent 63e47ab251
commit 483573c709
2 changed files with 3 additions and 3 deletions
@@ -443,7 +443,7 @@ void MovieTexture_DShow::CreateTexture()
return;
RageDisplay::PixelFormat pixfmt;
switch( TEXTUREMAN->GetMovieColorDepth() )
switch( TEXTUREMAN->GetPrefs().m_iMovieColorDepth )
{
default:
ASSERT(0);
@@ -666,7 +666,7 @@ void MovieTexture_FFMpeg::CreateTexture()
m_iTextureHeight = power_of_two(m_iImageHeight);
RageDisplay::PixelFormat pixfmt;
bool PreferHighColor = (TEXTUREMAN->GetMovieColorDepth() == 32);
bool PreferHighColor = (TEXTUREMAN->GetPrefs().m_iMovieColorDepth == 32);
m_AVTexfmt = FindCompatibleAVFormat( pixfmt, PreferHighColor );
if( m_AVTexfmt == -1 )
@@ -681,7 +681,7 @@ void MovieTexture_FFMpeg::CreateTexture()
break;
ASSERT( AVPixelFormats[m_AVTexfmt].bpp );
switch( TEXTUREMAN->GetMovieColorDepth() )
switch( TEXTUREMAN->GetPrefs().m_iMovieColorDepth )
{
default:
ASSERT(0);