#WS_EX_NOREDIRECTIONBITMAP on Windows leads to transparent window

3 messages · Page 1 of 1 (latest)

dawn flame
#

Hi,
I'm porting a window app to Vulkan, and when I create the window with WS_EX_NOREDIRECTIONBITMAP then it is all transparent.
Do you know what could be going on?
Cheers,
Alex

full cedar
#

I thought I answered this somewhere else on discord the other day?
WS_EX_NOREDIRECTIONBITMAP means there's no DXGI surface created for the window. It's not much of a surprise that VkSwapchain doesn't work with that, although I doubt it's explicitly documented anywhere.

#

You'll need to use Direct Composition to create a surface and import the image(s) as external images to vulkan, or lose that flag from the window.