[StepMania.cpp] Fix initial aspect ratio on first boot, hopefully. (See issues 6 and 27)
This commit is contained in:
+4
-1
@@ -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() );
|
||||
|
||||
Reference in New Issue
Block a user