- added 21:9 handling to GL code.
This commit is contained in:
parent
7ceb6d86dd
commit
af1b70376b
2 changed files with 4 additions and 4 deletions
|
|
@ -878,12 +878,12 @@ void FGLRenderer::RenderView (player_t* player)
|
|||
|
||||
// I stopped using BaseRatioSizes here because the information there wasn't well presented.
|
||||
// 4:3 16:9 16:10 17:10 5:4
|
||||
static float ratios[]={1.333333f, 1.777777f, 1.6f, 1.7f, 1.25f};
|
||||
static float ratios[]={1.333333f, 1.777777f, 1.6f, 1.7f, 1.25f, 1.7f, 2.333333f};
|
||||
|
||||
// now render the main view
|
||||
float fovratio;
|
||||
float ratio = ratios[WidescreenRatio];
|
||||
if (!(WidescreenRatio&4))
|
||||
if (! Is54Aspect(WidescreenRatio))
|
||||
{
|
||||
fovratio = 1.333333f;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue