ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
647 stars 75 forks source link

(TF2) The game renders wrongly in windowed mode on a ultrawide resolution #6127

Open VanillaSylv opened 4 months ago

VanillaSylv commented 4 months ago

The game seems to render the world at a 16:9 aspect ratio when the game is running in windowed mode on a ultrawide monitor, Fullscreen renders the world at the correct aspect ratio. This issue is present in vulkan and d3d9 rendering, cannot test ogl due to not being on linux.

Comparison between windowed and fullscreen. image image

dandongus commented 4 months ago

This is not a bug, it's intentional behavior and looks to be working as expected. Servers can set the cvar sv_restrict_aspect_ratio_fov to control whether fov should be clamped to the horizontal fov you get with a 1.85:1 aspect ratio in both fullscreen and windowed mode, in windowed mode only, or not at all.