Skip to content

Commit

Permalink
disable some checks
Browse files Browse the repository at this point in the history
  • Loading branch information
feos committed Jun 13, 2022
1 parent b1ebd6e commit 5b5d406
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions prboom2/src/SDL/i_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -1336,7 +1336,7 @@ void I_UpdateVideoMode(void)
// [FG] aspect ratio correction for the canonical video modes
if (SCREENHEIGHT == 200 || SCREENHEIGHT == 400)
{
actualheight = 6*SCREENHEIGHT/5;
actualheight = SCREENHEIGHT;
}
else
{
Expand All @@ -1347,10 +1347,10 @@ void I_UpdateVideoMode(void)
SDL_RenderSetLogicalSize(sdl_renderer, SCREENWIDTH, actualheight);

// [FG] make sure initial window size is always >= 640x480
while (screen_multiply*SCREENWIDTH < 640 || screen_multiply*actualheight < 480)
{
screen_multiply++;
}
//while (screen_multiply*SCREENWIDTH < 640 || screen_multiply*actualheight < 480)
//{
// screen_multiply++;
//}

// [FG] apply screen_multiply to initial window size
if (!desired_fullscreen)
Expand Down

0 comments on commit 5b5d406

Please sign in to comment.