How do I prevent a delay after window resize?

When resizing the window to be smaller a grey bar is visible and when resizing the window to be bigger a black bar is shown.

Is there any way to get the resizing to be smooth?

I’ve noticed a lot of applications like google chrome or edge have this issue.
But Notepad doesn’t for example.



Recreating buffers in OpenGL and especially Vulkan takes a while, so it’ll always be a slow operation. Other apps may be able to resize faster if they use software rendering or rely on OS-provided 2D acceleration APIs. Godot is a game engine so it can’t use those APIs (the 2D engine relies on 3D APIs, as 2D APIs are not meant for gaming).

1 Like