[StepMania.cpp] Fix initial aspect ratio on first boot, hopefully. (See issues 6 and 27)

This commit is contained in:
AJ Kelly
2011-12-23 14:09:16 -06:00
parent 8c5793fd96
commit c65b453e70
2 changed files with 6 additions and 1 deletions
+4 -1
View File
@@ -661,7 +661,10 @@ found_defaults:
PREFSMAN->m_iMovieColorDepth.Set( defaults.iMovieColor );
PREFSMAN->m_iMaxTextureResolution.Set( defaults.iTextureSize );
PREFSMAN->m_bSmoothLines.Set( defaults.bSmoothLines );
PREFSMAN->m_fDisplayAspectRatio.Set( HOOKS->GetDisplayAspectRatio() );
// this only worked when we started in fullscreen by default. -aj
//PREFSMAN->m_fDisplayAspectRatio.Set( HOOKS->GetDisplayAspectRatio() );
// now that we start in windowed mode, use the new default aspect ratio.
PREFSMAN->m_fDisplayAspectRatio.Set( PREFSMAN->m_fDisplayAspectRatio );
// Update last seen video card
PREFSMAN->m_sLastSeenVideoDriver.Set( GetVideoDriverName() );