Some PC games let you drag the window edges and resize them to almost any dimensions, while others only allow a fixed set of resolutions through their video settings. Is this mainly a developer choice, or does supporting arbitrary window sizes require substantially more work? What changes in the underlying rendering and UI code when a game supports dynamic resizing?
2 Answers
A larger window can require more pixels to be rendered, so performance may drop as the window grows. That is separate from whether resizing is technically possible, though. Many games can render at any size but deliberately restrict the options for consistency, performance testing, or because the interface was designed around a particular resolution or aspect ratio.
Fixed resolutions can also be important for games with pixel art or other resolution-dependent visuals. Scaling to an unusual size may make pixels blurry or uneven, while a carefully chosen integer scale looks much cleaner. Modern 3D graphics generally scale well, but the UI and visual presentation still need special handling for ultrawide screens, multiple monitors, and unusual window shapes.

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically