Renamed aspectRatio to aspectRatioCorrection in the SDL backend to match the accessor functions
(don't worry, o reader, for this is the only modification going to the SVN :) ) svn-id: r40226
This commit is contained in:
parent
912b3f64bb
commit
bb2540a4d1
4 changed files with 26 additions and 26 deletions
|
@ -267,7 +267,7 @@ protected:
|
|||
bool setup;
|
||||
|
||||
bool fullscreen;
|
||||
bool aspectRatio;
|
||||
bool aspectRatioCorrection;
|
||||
|
||||
int mode;
|
||||
int scaleFactor;
|
||||
|
@ -425,7 +425,7 @@ protected:
|
|||
virtual bool saveScreenshot(const char *filename); // overloaded by CE backend
|
||||
|
||||
int effectiveScreenHeight() const {
|
||||
return (_videoMode.aspectRatio ? real2Aspect(_videoMode.screenHeight) : _videoMode.screenHeight)
|
||||
return (_videoMode.aspectRatioCorrection ? real2Aspect(_videoMode.screenHeight) : _videoMode.screenHeight)
|
||||
* _videoMode.scaleFactor;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue