Vulkan viewport projection

I have an issue with using Vulkan and render.set_viewport / render.set_projection.

In my game I set a minimal aspect ration and when the window is too tall then I use letterboxing. In other words the viewport is smaller than the whole window. I use only the two functions render.set_viewport and render.set_projection.

This approach works with OpenGL without any issue; I can freely resize the window. However when I use Vulkan, as soon as there is the letterboxing then nothing is rendered, or, at least, I see a black window.

Does anyone know about this issue with Vulkan and viewport?

Hmm, this sounds like a bug. We’d very much appreciate a small example project to help us figure out what’s wrong!

3 Likes