godot icon indicating copy to clipboard operation
godot copied to clipboard

Fix D3D12 looking blurry in the editor at fullscreen.

Open blueskythlikesclouds opened this issue 2 weeks ago • 1 comments

Fixes #113634.

The window resolution without the transparent border is passed to the rendering drivers, but Vulkan and OpenGL force it to the actual window resolution anyway. D3D12 is the only one that actually respects it, but this ends up causing the swap chain to be stretched horizontally by 2 pixels. The behavior can be made consistent across all the rendering drivers by simply passing the actual window resolution.

blueskythlikesclouds avatar Dec 08 '25 11:12 blueskythlikesclouds

Might be worth it to add a comment explaining what off_x is and why it NEEDS to be added in all 3 renderers, so that the issue does not sneakily come back in some "cleanup pass"

Zireael07 avatar Dec 08 '25 16:12 Zireael07

Thanks!

Repiteo avatar Dec 08 '25 18:12 Repiteo