[StepMania.cpp] Fix initial aspect ratio on first boot, hopefully. (See issues 6 and 27)
This commit is contained in:
@@ -13,6 +13,8 @@ StepMania 5.0 $next | 20111xxx
|
|||||||
* [Song] Fixed a bug where a sample start of 0 wouldn't work. [AJ]
|
* [Song] Fixed a bug where a sample start of 0 wouldn't work. [AJ]
|
||||||
* [Game] Added CountNotesSeparately and GetMapJudgmentTo(TapNoteScore)
|
* [Game] Added CountNotesSeparately and GetMapJudgmentTo(TapNoteScore)
|
||||||
Lua bindings. [AJ]
|
Lua bindings. [AJ]
|
||||||
|
* [StepMania.cpp] Fix initial aspect ratio on first boot, hopefully.
|
||||||
|
(See issues 6 and 27) [AJ]
|
||||||
|
|
||||||
2011/12/22
|
2011/12/22
|
||||||
----------
|
----------
|
||||||
|
|||||||
+4
-1
@@ -661,7 +661,10 @@ found_defaults:
|
|||||||
PREFSMAN->m_iMovieColorDepth.Set( defaults.iMovieColor );
|
PREFSMAN->m_iMovieColorDepth.Set( defaults.iMovieColor );
|
||||||
PREFSMAN->m_iMaxTextureResolution.Set( defaults.iTextureSize );
|
PREFSMAN->m_iMaxTextureResolution.Set( defaults.iTextureSize );
|
||||||
PREFSMAN->m_bSmoothLines.Set( defaults.bSmoothLines );
|
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
|
// Update last seen video card
|
||||||
PREFSMAN->m_sLastSeenVideoDriver.Set( GetVideoDriverName() );
|
PREFSMAN->m_sLastSeenVideoDriver.Set( GetVideoDriverName() );
|
||||||
|
|||||||
Reference in New Issue
Block a user