ioquake / ioq3

The ioquake3 community effort to continue supporting/developing id's Quake III Arena
https://ioquake3.org/
GNU General Public License v2.0
2.43k stars 530 forks source link

Screen not centered with lower aspect ratio than display #571

Open fnky opened 2 years ago

fnky commented 2 years ago

The screen is not centered with custom resolution that is a different aspect ratio compared to the native display, as seen below in the screenshot.

This happens when using r_mode set to both built-in values, as well as custom resolution (-1). If the resolution matches the aspect ratio of the display, then it works fine. Setting r_customaspect or r_customPixelAspect also has no effect.

My goal is to have a 4:3 aspect ratio resolution, centered on screen.

System info:

OS: macOS Monterey 12.5
Model: MacBook Pro (16-inch, 2021)
CPU: Apple M1 Pro
Native Display Resolution: 3456x2234 (not scaled)
Adnn commented 11 months ago

@fnky I know this is an old issue, but I am facing the exact same issue. Did you find any configuration entry or any workaround to center the viewport?

fnky commented 11 months ago

@fnky I know this is an old issue, but I am facing the exact same issue. Did you find any configuration entry or any workaround to center the viewport?

I don't remember but I don't think I did.