Skip to content
Snippets Groups Projects

Fix video mode 0 not getting centered

Merged Hannu Hanhi requested to merge Hannu_Hanhi/SRB2:mode0-centering into next

Fixes the issue where the first mode on the video mode list (1920x1200) does not get centered.

The changes in commit abe35fd0 in !1264 (merged) mean that VID_CheckRenderer in VID_SetMode uses the value of setmodeneeded, but this gets decremented in screen.c:220, resulting in incorrect behaviour when switching to video mode 0.

Merge request reports

Checking pipeline status.

Approval is optional

Merged by LJ SonicLJ Sonic 4 years ago (Jan 25, 2021 10:59pm UTC)

Merge details

  • Changes merged into with 2d3e3029.
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading